Class UILocalNotification

  • All Implemented Interfaces:
    NSCoding, NSObjectProtocol, org.robovm.objc.ObjCProtocol

    @Deprecated
    public class UILocalNotification
    extends NSObject
    implements NSCoding
    Deprecated.
    Deprecated in iOS 10.0. Use UserNotifications Framework's UNNotificationRequest
    Since:
    Available in iOS 4.0 and later.
    • Constructor Detail

      • UILocalNotification

        public UILocalNotification()
        Deprecated.
      • UILocalNotification

        protected UILocalNotification​(NSObject.Handle h,
                                      long handle)
        Deprecated.
      • UILocalNotification

        protected UILocalNotification​(NSObject.SkipInit skipInit)
        Deprecated.
      • UILocalNotification

        public UILocalNotification​(NSCoder decoder)
        Deprecated.
    • Method Detail

      • getFireDate

        public NSDate getFireDate()
        Deprecated.
      • setFireDate

        public void setFireDate​(NSDate v)
        Deprecated.
      • getTimeZone

        public NSTimeZone getTimeZone()
        Deprecated.
      • setTimeZone

        public void setTimeZone​(NSTimeZone v)
        Deprecated.
      • getRepeatInterval

        public NSCalendarUnit getRepeatInterval()
        Deprecated.
      • setRepeatInterval

        public void setRepeatInterval​(NSCalendarUnit v)
        Deprecated.
      • getRepeatCalendar

        public NSCalendar getRepeatCalendar()
        Deprecated.
      • setRepeatCalendar

        public void setRepeatCalendar​(NSCalendar v)
        Deprecated.
      • getRegion

        public CLRegion getRegion()
        Deprecated.
        Since:
        Available in iOS 8.0 and later.
      • setRegion

        public void setRegion​(CLRegion v)
        Deprecated.
        Since:
        Available in iOS 8.0 and later.
      • regionTriggersOnce

        public boolean regionTriggersOnce()
        Deprecated.
        Since:
        Available in iOS 8.0 and later.
      • setRegionTriggersOnce

        public void setRegionTriggersOnce​(boolean v)
        Deprecated.
        Since:
        Available in iOS 8.0 and later.
      • getAlertBody

        public java.lang.String getAlertBody()
        Deprecated.
      • setAlertBody

        public void setAlertBody​(java.lang.String v)
        Deprecated.
      • hasAction

        public boolean hasAction()
        Deprecated.
      • setHasAction

        public void setHasAction​(boolean v)
        Deprecated.
      • getAlertAction

        public java.lang.String getAlertAction()
        Deprecated.
      • setAlertAction

        public void setAlertAction​(java.lang.String v)
        Deprecated.
      • getAlertLaunchImage

        public java.lang.String getAlertLaunchImage()
        Deprecated.
      • setAlertLaunchImage

        public void setAlertLaunchImage​(java.lang.String v)
        Deprecated.
      • getAlertTitle

        public java.lang.String getAlertTitle()
        Deprecated.
        Since:
        Available in iOS 8.2 and later.
      • setAlertTitle

        public void setAlertTitle​(java.lang.String v)
        Deprecated.
        Since:
        Available in iOS 8.2 and later.
      • getSoundName

        public java.lang.String getSoundName()
        Deprecated.
      • setSoundName

        public void setSoundName​(java.lang.String v)
        Deprecated.
      • getApplicationIconBadgeNumber

        public long getApplicationIconBadgeNumber()
        Deprecated.
      • setApplicationIconBadgeNumber

        public void setApplicationIconBadgeNumber​(long v)
        Deprecated.
      • getUserInfo

        public NSDictionary<?,​?> getUserInfo()
        Deprecated.
      • setUserInfo

        public void setUserInfo​(NSDictionary<?,​?> v)
        Deprecated.
      • getCategory

        public java.lang.String getCategory()
        Deprecated.
        Since:
        Available in iOS 8.0 and later.
      • setCategory

        public void setCategory​(java.lang.String v)
        Deprecated.
        Since:
        Available in iOS 8.0 and later.
      • getDefaultSoundName

        @Deprecated
        public static java.lang.String getDefaultSoundName()
        Deprecated.
        Deprecated in iOS 10.0. Use UserNotifications Framework's +[UNNotificationSound defaultSound]
        Since:
        Available in iOS 4.0 and later.
      • init

        protected long init​(NSCoder decoder)
        Deprecated.
      • encode

        public void encode​(NSCoder coder)
        Deprecated.
        Specified by:
        encode in interface NSCoding