| Package | qnx.events |
| Class | public class MediaServiceRequestEvent |
| Inheritance | MediaServiceRequestEvent flash.events.Event |
MediaServiceRequestEvent class provides events related to media service requests, such as track change or play and pause requests.
| Method | Defined By | ||
|---|---|---|---|
MediaServiceRequestEvent(type:String)
Creates a new MediaServiceRequestEvent instance given an event type. | MediaServiceRequestEvent | ||
| Constant | Defined 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 | ||
| MediaServiceRequestEvent | () | Constructor |
public function MediaServiceRequestEvent(type:String)
Creates a new MediaServiceRequestEvent instance given an event type.
type:String — The event type.
|
| TRACK_NEXT | Constant |
public static const TRACK_NEXT:String = mediaRequestTrackNextDispatched when the media service has requested you to change playback to the next track.
| TRACK_PAUSE | Constant |
public static const TRACK_PAUSE:String = mediaRequestTrackPauseDispatched when the media service has requested you to pause playback.
| TRACK_PLAY | Constant |
public static const TRACK_PLAY:String = mediaRequestTrackPlayDispatched when the media service has requested that you start playback.
| TRACK_PREV | Constant |
public static const TRACK_PREV:String = mediaRequestTrackPrevDispatched when the media service has requested you to change playback to the previous track.