iOS Guides | Samples

MonoTouch.UIKit.UIUserNotificationAction Class

A custom action that can be performed in response to a notification.

See Also: UIUserNotificationAction


[MonoTouch.Foundation.Register("UIUserNotificationAction", true)]
[MonoTouch.ObjCRuntime.Deprecated(MonoTouch.ObjCRuntime.PlatformName.iOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, "Use 'UserNotifications.UNNotificationAction' instead.")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIUserNotificationAction : NSObject, INSMutableCopying, INSSecureCoding, IDisposable

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIUserNotificationAction are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ActivationModeUIUserNotificationActivationMode. Mode where the app is run when the action is performed. (read-only)
AuthenticationRequiredBoolean. Designates if the user needs to unlock the device before the action is performed. (read-only)
BehaviorUIUserNotificationActionBehavior. Holds the type of user response action allowed (that is, whether text input it allowed).
ClassHandleIntPtr. The handle for this class.
DestructiveBoolean. Designates if the action is destructive. (read-only)
IdentifierString. String used internally for identification of the action. (read-only)
TitleString. String used as the button title for the action. (read-only)

Public Methods

Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
MutableCopy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.