Chromecast_Objc
@objc(THEOplayerChromecast)
public protocol Chromecast_ObjcChromecast, also known as Google Cast, is a casting device designed by Google.
- 
                  
                  Whether THEOplayer is casting to a chromecast and has control over the current chromecast session. DeclarationSwift var casting: Bool { get }
- 
                  
                  The last error thrown by chromecast. DeclarationSwift @objc(error) var error_Objc: CastError_Objc? { get }
- 
                  
                  The name of the chromecast device that THEOplayer is casting to. Remark This value is nil if THEOplayer is not controlling the current chromecast session.DeclarationSwift var receiverName: String? { get }
- 
                  
                  Indicates the state of the casting process. DeclarationSwift @objc(state) var state_Objc: PlayerCastState { get }
- 
                  
                  The ChromecastConnectionDelegate to be used when the Chromecast connection changes. DeclarationSwift func setConnectionDelegate(_ delegate: ChromecastConnectionDelegate?)
- 
                  
                  Start casting to the chromecast. A dialog will prompt to choose the device. DeclarationSwift func start()
- 
                  
                  Stop casting to the chromecast. DeclarationSwift func stop()
- 
                  
                  Join an active chromecast session. DeclarationSwift func join()
- 
                  
                  Leave an active chromecast session without affecting other devices. DeclarationSwift func leave()
- 
                  
                  Adds the given event listener of the given ChromecastEventType.Remark When attaching a listener on the wrong object the application will crash. DeclarationSwift @discardableResult func addEventListener(type: String, listener: @escaping (ChromeCastEvent) -> ()) -> EventListenerParameterstypeChromecastEventType of the added event listener. listenerClosure called when event is dispatched. Return ValueEventListener that can be removed. 
- 
                  
                  Removes the given event listener of the given ChromecastEventType.DeclarationSwift func removeEventListener(type: String, listener: EventListener)ParameterstypeChromecastEventType of the removed event listener. listenerEventListener object that has been return on addEventListener. 
