Packagecom.adobe.mediacore
Classpublic class MediaPlayerStatus
InheritanceMediaPlayerStatus Inheritance Object

Class providing strings constants to be used with MediaPlayer status property.



Public Constants
 ConstantDefined By
  COMPLETE : String = complete
[static] The playback of the current media item is complete.
MediaPlayerStatus
  ERROR : String = error
[static] The player has encountered an error and the playback is stopped.
MediaPlayerStatus
  INITIALIZED : String = initialized
[static] The provided media player item has been sucessfully initialized and all associated data have been retrieved.
MediaPlayerStatus
  INITIALIZING : String = initializing
[static] The media player has been created and is currently waiting for a media player item to be provided for further processing.
MediaPlayerStatus
  PAUSED : String = paused
[static] The playback of current selected media item is paused.
MediaPlayerStatus
  PLAYING : String = playing
[static] The playback of current selected media item is in progress.
MediaPlayerStatus
  READY : String = ready
[static] All associated components have been successfully initialized.
MediaPlayerStatus
  RELEASED : String = released
[static] The player's internals have been released.
MediaPlayerStatus
Constant Detail
COMPLETEConstant
public static const COMPLETE:String = complete

The playback of the current media item is complete. No additional data will be downloaded unless the playhead is reset through method seek.

ERRORConstant 
public static const ERROR:String = error

The player has encountered an error and the playback is stopped.

INITIALIZEDConstant 
public static const INITIALIZED:String = initialized

The provided media player item has been sucessfully initialized and all associated data have been retrieved. The player is currently for additional components to complete there initialization ( FAXS ).

INITIALIZINGConstant 
public static const INITIALIZING:String = initializing

The media player has been created and is currently waiting for a media player item to be provided for further processing.

PAUSEDConstant 
public static const PAUSED:String = paused

The playback of current selected media item is paused. Even in this phase the media player might download additional data in order to fulfill the buffer policies.

PLAYINGConstant 
public static const PLAYING:String = playing

The playback of current selected media item is in progress. During this state the media player can dispatch additional events to notify the client about buffering or seeking events which may take place.

READYConstant 
public static const READY:String = ready

All associated components have been successfully initialized. The playback can start. The player is currently waiting for method play or seek to be invoked to start playback.

RELEASEDConstant 
public static const RELEASED:String = released

The player's internals have been released. It is no longer usable. This is a dead end of the state machine, the player must be deleted and a new player created.