Class UIUserNotificationAction

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
UIMutableUserNotificationAction

@Deprecated
public class UIUserNotificationAction
extends NSObject
implements NSSecureCoding
Deprecated.
Deprecated in iOS 10.0. Use UserNotifications Framework's UNNotificationAction
  • Constructor Details

    • UIUserNotificationAction

      public UIUserNotificationAction()
      Deprecated.
    • UIUserNotificationAction

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

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

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

    • getIdentifier

      public String getIdentifier()
      Deprecated.
    • getTitle

      public String getTitle()
      Deprecated.
    • getBehavior

      public UIUserNotificationActionBehavior getBehavior()
      Deprecated.
      Since:
      Available in iOS 9.0 and later.
    • getParameters

      public NSDictionary<?,​?> getParameters()
      Deprecated.
      Since:
      Available in iOS 9.0 and later.
    • getActivationMode

      public UIUserNotificationActivationMode getActivationMode()
      Deprecated.
    • isAuthenticationRequired

      public boolean isAuthenticationRequired()
      Deprecated.
    • isDestructive

      public boolean isDestructive()
      Deprecated.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
      Deprecated.
    • setIdentifier

      public void setIdentifier​(String v)
      Deprecated.
    • setTitle

      public void setTitle​(String v)
      Deprecated.
    • setBehavior

      public void setBehavior​(UIUserNotificationActionBehavior v)
      Deprecated.
    • setParameters

      public void setParameters​(NSDictionary<?,​?> v)
      Deprecated.
    • setActivationMode

      public void setActivationMode​(UIUserNotificationActivationMode v)
      Deprecated.
    • setAuthenticationRequired

      public void setAuthenticationRequired​(boolean v)
      Deprecated.
    • setDestructive

      public void setDestructive​(boolean v)
      Deprecated.
    • init

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

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