Specifies a scenario-associated button shown in a toast. The scenario is specified in the parent commands element.
<command id? = "snooze" | "dismiss" | "video" | "voice" | "decline" arguments? = string />
? optional (zero or one)
Attributes and Elements
|Attribute||Description||Data type||Required||Default value|
An argument string that can be passed to the associated app to provide specifics about the action that it should execute in response to the user action.
Specifies one command from the system-defined command list. These values correspond to available actions that the user can take. Two scenarios are available through the commands element. Only certain commands are used with a given scenario, as shown here:
This attribute can have one of the following values:
Specifies that the toast notification is being used to indicate an incoming call or an alarm, with appropriate commands associated with each scenario.