Cast
public protocol Cast : EventDispatcherProtocol
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
var chromecast: Chromecast? { get }
-
An AirPlay integration object that allows you to cast to AirPlay and inspect its state.
Declaration
Swift
var airPlay: AirPlay? { get }