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 - returns a String with the current description
Declaration
Swift
public var description: String