Class UILocalNotification

All Implemented Interfaces:
NSCoding, NSObjectProtocol, ObjCProtocol

@Deprecated
public class UILocalNotification
extends NSObject
implements NSCoding
Deprecated.
Deprecated in iOS 10.0. Use UserNotifications Framework's UNNotificationRequest
  • Constructor Details

    • UILocalNotification

      public UILocalNotification()
      Deprecated.
    • UILocalNotification

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

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

      public UILocalNotification​(NSCoder coder)
      Deprecated.
  • Method Details

    • 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.
    • setRegion

      public void setRegion​(CLRegion v)
      Deprecated.
    • regionTriggersOnce

      public boolean regionTriggersOnce()
      Deprecated.
    • setRegionTriggersOnce

      public void setRegionTriggersOnce​(boolean v)
      Deprecated.
    • getAlertBody

      public String getAlertBody()
      Deprecated.
    • setAlertBody

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

      public boolean hasAction()
      Deprecated.
    • setHasAction

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

      public String getAlertAction()
      Deprecated.
    • setAlertAction

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

      public String getAlertLaunchImage()
      Deprecated.
    • setAlertLaunchImage

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

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

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

      public String getSoundName()
      Deprecated.
    • setSoundName

      public void setSoundName​(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 String getCategory()
      Deprecated.
    • setCategory

      public void setCategory​(String v)
      Deprecated.
    • getDefaultSoundName

      @Deprecated public static String getDefaultSoundName()
      Deprecated.
      Deprecated in iOS 10.0. Use UserNotifications Framework's +[UNNotificationSound defaultSound]
    • init

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

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