OnButton

Defines the actions that occur when a button is pressed. The actions defined within this event handler override the default actions of the button when one of the child ActionSets are executed.

The OnButton element may contain one or more ActionSet elements.

Attribute Description
Button The name of the button. These may change based on the final design of the device. The current values are: PlayPause, Next, Previous, VolumeUp, VolumeDown, Forward, Back, Option1, and Help
Action The button action to which this event handler applies. Possible values are Press, Release, and Hold. The Hold event is fired once a second when the button is held down.