iOS Guides | Samples

MonoTouch.UIKit.UIUserNotificationCategory Class

Holds custom UIUserNotificationActions executed in response to a local or push notification.

See Also: UIUserNotificationCategory

Syntax

[MonoTouch.Foundation.Register("UIUserNotificationCategory", true)]
[MonoTouch.ObjCRuntime.Deprecated(MonoTouch.ObjCRuntime.PlatformName.iOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, "Soft deprecated in iOS 10, use UserNotifications.UNNotificationCategory")]
[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 UIUserNotificationCategory : NSObject, INSMutableCopying, INSSecureCoding, IDisposable

See Also

Related content

Requirements

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

The members of MonoTouch.UIKit.UIUserNotificationCategory 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]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
IdentifierString. Gets the identifier for the notification category.

Public Methods

Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
GetActionsForContext(UIUserNotificationActionContext) : UIUserNotificationAction[]
Gets the list of notification actions for context.
MutableCopy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.