Denotes a field as being an action. Defining this field (with a non-undefined value) will result in actions being
raised and sent back to the source application when the corresponding event happens.
For example, providing a value for the onClick field of ButtonOptions will result in a
notification-action event being fired when that button is clicked.
In the current version of the service, the NotificationActionResults returned back to an application are static
and must bedefined at the point where the notification is created. Later versions of the service will allow some
limited programmatic creation of these results, for use in situations where static result data isn't sufficient.
The generic parameters of this type are for future expansion. Future versions of the service will allow for more
control over the handling of actions.
Denotes a field as being an action. Defining this field (with a non-
undefined
value) will result in actions being raised and sent back to the source application when the corresponding event happens.For example, providing a value for the
onClick
field of ButtonOptions will result in anotification-action
event being fired when that button is clicked.In the current version of the service, the
NotificationActionResult
s returned back to an application are static and must bedefined at the point where the notification is created. Later versions of the service will allow some limited programmatic creation of these results, for use in situations where static result data isn't sufficient.The generic parameters of this type are for future expansion. Future versions of the service will allow for more control over the handling of actions.