PlayerCastState

@objc(THEOplayerPlayerCastState)
public enum PlayerCastState : Int
extension PlayerCastState: Decodable

Indicates the state of the casting processs.

  • There is a cast device detected, but that THEOplayer is not casting or controlling the current cast session.

    Declaration

    Swift

    @objc(THEOplayerPlayerCastStateAVAILABLE)
    case available = 1
  • THEOplayer is casting to the cast device.

    Declaration

    Swift

    @objc(THEOplayerPlayerCastStateCONNECTED)
    case connected = 2
  • There is no cast device detected or that the device is not available (e.g. not powered, not connected to the internet).

    Declaration

    Swift

    @objc(THEOplayerPlayerCastStateUNAVAILABLE)
    case unavailable = 3
  • THEOplayer is in the process of connecting to the cast device.

    Declaration

    Swift

    @objc(THEOplayerPlayerCastStateCONNECTING)
    case connecting = 4
  • The raw value of type String.

    Declaration

    Swift

    public var _rawValue: String { get set }