NotificationResponseCategory.Actions()
From Xojo Documentation
Property (As NotificationResponseAction )
aNotificationResponseCategory.Actions() = newNotificationResponseActionValue
or
NotificationResponseActionValue = aNotificationResponseCategory.Actions()
New in 2020r2
Supported for all project types and targets.
or
NotificationResponseActionValue = aNotificationResponseCategory.Actions()
New in 2020r2
Supported for all project types and targets.
The list of actions the user can take in response to the notification.
Notes
The list of actions your app provides will be truncated by iOS if there's insufficient space in which to display them all. Thus, place the most important actions first.
Sample Code
Create a NotificationResponseCategory then add a button to it:
Var pizzaCategory As New NotificationResponseCategory("pizzaSale")
Var orderButton As New NotificationResponseButton("Order Now!", "order")
pizzaCategory.Actions.Add(orderButton)
Var orderButton As New NotificationResponseButton("Order Now!", "order")
pizzaCategory.Actions.Add(orderButton)
See Also
NotificationResponseAction class.