Packageqnx.ui.media
Classpublic class MediaControlState
InheritanceMediaControlState Inheritance Object

The MediaControlState class provides constant values for the MediaControl.setState() method.

See also

MediaControl.setState()
MediaControl.getState()


Public Constants
 ConstantDefined By
  PAUSE : String = pause
[static] Passed into the MediaControl.setProperty() method to indicate that the MediaControl interface should reflect a paused state.
MediaControlState
  PLAY : String = play
[static] Passed into the MediaControl.setProperty() method to indicate that the MediaControl interface should reflect a playing state.
MediaControlState
  SEEK_END : String = seekend
[static] This is a transitent state and is delivered only though a STATE_CHANGE event when the user lifts their finger off the screen to end a seek interaction.
MediaControlState
  SEEK_START : String = seekstart
[static] This is a transitent state and is delivered only though a STATE_CHANGE event when the user presses down on the seekbar thumb to begin seeking.
MediaControlState
  STOP : String = stop
[static] Passed into the MediaControl.setProperty() method to indicate that the MediaControl interface should reflect a stopped state.
MediaControlState
Constant Detail
PAUSEConstant
public static const PAUSE:String = pause

Passed into the MediaControl.setProperty() method to indicate that the MediaControl interface should reflect a paused state.

PLAYConstant 
public static const PLAY:String = play

Passed into the MediaControl.setProperty() method to indicate that the MediaControl interface should reflect a playing state.

SEEK_ENDConstant 
public static const SEEK_END:String = seekend

This is a transitent state and is delivered only though a STATE_CHANGE event when the user lifts their finger off the screen to end a seek interaction. It should not be set programmatically. The state of the MediaControl is not set to this.

SEEK_STARTConstant 
public static const SEEK_START:String = seekstart

This is a transitent state and is delivered only though a STATE_CHANGE event when the user presses down on the seekbar thumb to begin seeking. It should not be set programmatically. The state of the MediaControl is not set to this.

STOPConstant 
public static const STOP:String = stop

Passed into the MediaControl.setProperty() method to indicate that the MediaControl interface should reflect a stopped state.