JWPlayerState
@objc
public enum JWPlayerState : Int
extension JWPlayerState: CustomStringConvertible
Constants indicating the state of the player.
-
Player cannot determine the state
Declaration
Swift
case unknown
-
Player is currently idle.
Declaration
Swift
case idle
-
Player is currently buffering.
Declaration
Swift
case buffering
-
Player is currently playing.
Declaration
Swift
case playing
-
Player is currently paused.
Declaration
Swift
case paused
-
Player has completed playback of content.
Declaration
Swift
case complete
-
Player has encountered an unrecoverable error.
Declaration
Swift
case error
-
Declaration
Swift
public var description: String { get }