PlaybackState
@objc public enum PlaybackState: Int, CustomStringConvertible
Enum with the playback state
- Stopped: The state is stop
- Playing: The state is play
- Paused: The state is paused
- Failed: The state is failed
- Ended: The state is ended
-
Stopped: The state is stop
Declaration
Swift
case stopped = 0
-
Playing: The state is play
Declaration
Swift
case playing
-
Paused: The state is paused
Declaration
Swift
case paused
-
Failed: The state is failed
Declaration
Swift
case failed
-
Ended: The state is ended
Declaration
Swift
case ended
-
Return the Player State description
Declaration
Swift
public var description: String