Class ISN_UNNotificationResponse
The user’s response to an actionable notification.
When the user interacts with a delivered notification, the system delivers a ISN_UNNotificationResponse object to your app so that you can process the response. Users can interact with delivered notifications in many ways. If the notification’s category had associated action buttons, they can select one of those buttons. Users can also dismiss the notification without selecting one of your actions and they can open your app. A response object tells you which option that the user selected.
You do not create instances of this class yourself. Instead, the notification center object creates instances and delivers them to the ISN_UNUserNotificationCenterDelegate. You use that method to extract any needed information from the response objects and take appropriate actions. For more information about, see the ISN_UNUserNotificationCenterDelegate.
Inheritance
Inherited Members
Namespace: SA.iOS.UserNotifications
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UNNotificationResponse
Properties
ActionIdentifier
The identifier for the action that the user selected.
This parameter may contain one the identifier of one of your ISN_UNNotificationAction objects or it may contain a system-defined identifier. The system defined identifiers are DefaultActionIdentifier and DismissActionIdentifier, which indicate that the user opened the app or dismissed the notification without any further actions.
For more information about defining custom actions, see ISN_UNNotificationAction.
Declaration
public string ActionIdentifier { get; }
Property Value
Type | Description |
---|---|
System.String |
Notification
The notification to which the user responded.
Declaration
public ISN_UNNotification Notification { get; }
Property Value
Type | Description |
---|---|
ISN_UNNotification |