qnx.events.MediaServiceRequestEvent

MediaServiceRequestEvent

Methods | Constants


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.

Class information:
PlayBook Tablet OS Version:   1.0.6



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
  TRACK_STOP : String = mediaRequestTrackStop
[static] Dispatched when the media service has requested you to stop playback.
MediaServiceRequestEvent

Constructor Detail

MediaServiceRequestEvent()


public function MediaServiceRequestEvent(type:String)

Creates a new MediaServiceRequestEvent instance given an event type.

Parameters

type:String — The event type.

Constant Detail

TRACK_NEXT


public static const TRACK_NEXT:String = mediaRequestTrackNext

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

TRACK_PAUSE


public static const TRACK_PAUSE:String = mediaRequestTrackPause

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

TRACK_PLAY


public static const TRACK_PLAY:String = mediaRequestTrackPlay

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

TRACK_PREV


public static const TRACK_PREV:String = mediaRequestTrackPrev

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

TRACK_STOP


public static const TRACK_STOP:String = mediaRequestTrackStop

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