Cast_Objc

@objc(THEOplayerCast)
public protocol Cast_Objc

The Cast object helps you configure and control casting to external devices with THEOplayer.

  • Whether THEOplayer is currently connected with a casting device.

    Declaration

    Swift

    var casting: Bool { get }
  • A Chromecast integration object that allows you to cast to Chromecast and inspect its state.

    Declaration

    Swift

    @objc(chromecast)
    var chromecast_Objc: Chromecast_Objc? { get }
  • An AirPlay integration object that allows you to cast to AirPlay and inspect its state.

    Declaration

    Swift

    @objc(airPlay)
    var airPlay_Objc: Airplay_Objc? { get }