MediaPlayerStatus
@objc(AASDKMediaPlayerStatus)
public enum MediaPlayerStatus : Int
Media player status.
-
The player state is unknown. Something has happened.
Declaration
Swift
case unknown
-
The player is initialized, but not playing, and does not have an item to play. This should be the default state.
Declaration
Swift
case initialized
-
The player is about to begin buffering.
Declaration
Swift
case buffering
-
The player has finished buffering.
Declaration
Swift
case bufferingFinished
-
The player is ready to play the item (it has data buffered).
Declaration
Swift
case readyToPlay
-
The player is playing the item.
Declaration
Swift
case playing
-
The player has paused playing.
Declaration
Swift
case paused
-
The player has finished the whole item. This should be the last state for an item.
Declaration
Swift
case finished
-
The player has failed to load the item.
Declaration
Swift
case failed