Packageqnx.events
Classpublic class MediaServiceRequestEvent
InheritanceMediaServiceRequestEvent Inheritance flash.events.Event

The MediaServiceRequestEvent class provides events related to media service requests, such as track change or play and pause requests.



Public Methods
 MethodDefined By
  
Creates a new MediaServiceRequestEvent instance given an event type.
MediaServiceRequestEvent
Public Constants
 ConstantDefined By
  TRACK_NEXT : String = mediaRequestTrackNext
[static] Dispatched when the media service has requested you to change playback to the next track.
MediaServiceRequestEvent
  TRACK_PAUSE : String = mediaRequestTrackPause
[static] Dispatched when the media service has requested you to pause playback.
MediaServiceRequestEvent
  TRACK_PLAY : String = mediaRequestTrackPlay
[static] Dispatched when the media service has requested that you start playback.
MediaServiceRequestEvent
  TRACK_PREV : String = mediaRequestTrackPrev
[static] Dispatched when the media service has requested you to change playback to the previous track.
MediaServiceRequestEvent
Constructor Detail
MediaServiceRequestEvent()Constructor
public function MediaServiceRequestEvent(type:String)

Creates a new MediaServiceRequestEvent instance given an event type.

Parameters
type:String — The event type.
Constant Detail
TRACK_NEXTConstant
public static const TRACK_NEXT:String = mediaRequestTrackNext

Dispatched when the media service has requested you to change playback to the next track.

TRACK_PAUSEConstant 
public static const TRACK_PAUSE:String = mediaRequestTrackPause

Dispatched when the media service has requested you to pause playback.

TRACK_PLAYConstant 
public static const TRACK_PLAY:String = mediaRequestTrackPlay

Dispatched when the media service has requested that you start playback.

TRACK_PREVConstant 
public static const TRACK_PREV:String = mediaRequestTrackPrev

Dispatched when the media service has requested you to change playback to the previous track.