| Constant | Defined by | ||
|---|---|---|---|
| DURATION : String = "duration" [static]
| MediaPlayerCodes | ||
| ERROR : String = "error" [static]
| MediaPlayerCodes | ||
| METADATA : String = "metadata" [static]
| MediaPlayerCodes | ||
| POSITION : String = "position" [static]
| MediaPlayerCodes | ||
| SIZE : String = "size" [static] Only applicable for VideoPlayer.
| MediaPlayerCodes | ||
| STATE : String = "state" [static]
| MediaPlayerCodes | ||
| STATE_PAUSED : int = 3 [static]
| MediaPlayerCodes | ||
| STATE_PLAYING : int = 2 [static]
| MediaPlayerCodes | ||
| STATE_READY : int = 1 [static] Indicates we're ready to play.
| MediaPlayerCodes | ||
| STATE_STOPPED : int = 4 [static] Indicates that the playhead reached the end and the media has stopped.
| MediaPlayerCodes | ||
| STATE_UNREADY : int = 0 [static] Indicates we're still loading or initializing.
| MediaPlayerCodes | ||
| DURATION | constant |
public static const DURATION:String = "duration"
| ERROR | constant |
public static const ERROR:String = "error"
| METADATA | constant |
public static const METADATA:String = "metadata"
| POSITION | constant |
public static const POSITION:String = "position"
| SIZE | constant |
public static const SIZE:String = "size"Only applicable for VideoPlayer.
| STATE | constant |
public static const STATE:String = "state"
| STATE_PAUSED | constant |
public static const STATE_PAUSED:int = 3
| STATE_PLAYING | constant |
public static const STATE_PLAYING:int = 2
| STATE_READY | constant |
public static const STATE_READY:int = 1Indicates we're ready to play.
| STATE_STOPPED | constant |
public static const STATE_STOPPED:int = 4Indicates that the playhead reached the end and the media has stopped.
| STATE_UNREADY | constant |
public static const STATE_UNREADY:int = 0Indicates we're still loading or initializing.