iOS Guides | Samples

MonoTouch.UIKit.UIUserNotificationAction Class

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

See Also: UIUserNotificationAction

Syntax

[MonoTouch.Foundation.Register("UIUserNotificationAction", true)]
[MonoTouch.ObjCRuntime.Deprecated(MonoTouch.ObjCRuntime.PlatformName.iOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, "Soft deprecated in iOS 10, use UserNotifications.UNNotificationAction")]
[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

Requirements

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

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

[read-only]
ActivationModeUIUserNotificationActivationMode. Mode where the app is run when the action is performed. (read-only)
[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).
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
DestructiveBoolean. Designates if the action is destructive. (read-only)
[read-only]
IdentifierString. String used internally for identification of the action. (read-only)
ParametersNSDictionary.
[read-only]
static
ResponseTypedTextKeyNSString.
[read-only]
static
TextInputActionButtonTitleKeyNSString.
[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.