UNNotificationAction.FromIdentifier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns a new notification action with the specified identifier
, title
, and options
.
[Foundation.Export("actionWithIdentifier:title:options:")]
public static UserNotifications.UNNotificationAction FromIdentifier (string identifier, string title, UserNotifications.UNNotificationActionOptions options);
static member FromIdentifier : string * string * UserNotifications.UNNotificationActionOptions -> UserNotifications.UNNotificationAction
Parameters
- identifier
- String
The unique identifier that the application will use to find the action.
- title
- String
A localized action title.
- options
- UNNotificationActionOptions
A mask that indicates whether authentication is required, whether the action is destructive, and/or whether to run the application in the foreground.
Returns
A new notification action with the specified identifier
, title
, and options
.
- Attributes