qnx.events.MediaServiceConnectionEvent

MediaServiceConnectionEvent

Methods | Constants


Packageqnx.events
Classpublic class MediaServiceConnectionEvent
InheritanceMediaServiceConnectionEvent Inheritance flash.events.Event

The MediaServiceConnectionEvent class provides event functionality related to media service I/O.

Class information:
PlayBook Tablet OS Version:   1.0.6



Public Methods

 MethodDefined By
  
Creates a new MediaServiceConnectionEvent instance given an event type.
MediaServiceConnectionEvent

Public Constants

 ConstantDefined By
  ACCESS_CHANGE : String = mediaServiceAccessChange
[static] Dispatched when the media service has provided access or is asking you to revoke access to the media playback engine.
MediaServiceConnectionEvent
  CONNECT : String = mediaServiceConnect
[static] Dispatched when a connection to the media service is made.
MediaServiceConnectionEvent
  CONNECTION_FAIL : String = mediaServiceConnectionFail
[static] Dispatched when a connection to the media service has failed.
MediaServiceConnectionEvent
  DATAFLOW_CHANGE : String = mediaServiceDataFlowChange
[static] Dispatched when the media service requests a change in the flow of play state and metadata.
MediaServiceConnectionEvent
  DISCONNECT : String = mediaServiceDisconnect
[static] Dispatched when a connection to the media service has disconnected.
MediaServiceConnectionEvent

Constructor Detail

MediaServiceConnectionEvent()


public function MediaServiceConnectionEvent(type:String)

Creates a new MediaServiceConnectionEvent instance given an event type.

Parameters

type:String — The event type.

Constant Detail

ACCESS_CHANGE


public static const ACCESS_CHANGE:String = mediaServiceAccessChange

Dispatched when the media service has provided access or is asking you to revoke access to the media playback engine.

See also

hasAudioService

CONNECT


public static const CONNECT:String = mediaServiceConnect

Dispatched when a connection to the media service is made.

CONNECTION_FAIL


public static const CONNECTION_FAIL:String = mediaServiceConnectionFail

Dispatched when a connection to the media service has failed.

DATAFLOW_CHANGE


public static const DATAFLOW_CHANGE:String = mediaServiceDataFlowChange

Dispatched when the media service requests a change in the flow of play state and metadata.

See also

canSendData

DISCONNECT


public static const DISCONNECT:String = mediaServiceDisconnect

Dispatched when a connection to the media service has disconnected.