PlayerState
@objc
public enum PlayerState : Int, CustomStringConvertible
An PlayerState is an enum of different player states
-
Sent when player’s state idle.
Declaration
Swift
case idle
-
Sent when player’s state ready.
Declaration
Swift
case ready
-
Sent when player’s state buffering.
Declaration
Swift
case buffering
-
Sent when player’s state ended. Same event sent when observing PlayerEvent.ended. This state was attached to reflect current state and avoid unrelevant boolean.
Declaration
Swift
case ended
-
Sent when player’s state errored.
Declaration
Swift
case error
-
Sent when player’s state unknown.
Declaration
Swift
case unknown = -1
-
Declaration
Swift
public var description: String { get }