Base toast element, which contains at least a single visual element.
<toast launch? = string duration? = "long" | "short" > <!-- Child elements --> visual, audio?, commands? </toast>
? optional (zero or one)
Attributes and Elements
|Attribute||Description||Data type||Required||Default value|
The amount of time the toast should display.
This attribute can have one of the following values:
A string that is passed to the application when it is activated by the toast. The format and contents of this string are defined by the app for its own use. When the user taps or clicks the toast to launch its associated app, the launch string provides the context to the app that allows it to show the user a view relevant to the toast content, rather than launching in its default way.
Specifies a sound to play when a toast notification is displayed. This element also allows you to mute any toast notification audio.
Specifies that the toast notification is being used to indicate an incoming call or an alarm, with appropriate commands associated with each scenario.
Contains a single binding element that defines a toast.
This outermost (document) element may not be contained by any other elements.
Send feedback about: