ChromeCast API
GoogleCast.framework
The following is the supportMatrix for the GoogleCast SDK versions that THEOplayer is linked against. Although using a different version might work, we advise to use the exact same version that THEOplayer is using to avoid any compatibility issues.
| PlayerVersion | playerSuiteVersion | GoogleCast verions |
|---|---|---|
| 2.84.0+ | 2021.2.0+ | 4.4.4 |
| 2.85.0+ | 2021.2.1+ | 4.6.0 |
-
Chromecast, also known as Google Cast, is a casting device designed by Google.
See moreDeclaration
Swift
public protocol Chromecast : EventDispatcherProtocol -
Describes the configuration of the Cast integrations.
See moreDeclaration
Swift
@objc(THEOplayerCastConfiguration) public class CastConfiguration : NSObject, Encodable -
The cast strategies that specify the ways an existing chromecast session can be joined.
See moreDeclaration
Swift
@objc(THEOplayerCastStrategy) public enum CastStrategy : Intextension CastStrategy: Encodable -
Indicates the state of the casting processs.
See moreDeclaration
Swift
@objc(THEOplayerPlayerCastState) public enum PlayerCastState : Intextension PlayerCastState: Decodable -
The cast error.
See moreDeclaration
Swift
public class CastError -
The description of the metadata used by Chromecast.
See moreDeclaration
Swift
@objc(THEOplayerChromecastMetadataDescription) public class ChromecastMetadataDescription : MetadataDescription -
The metadata of a Chromecast image.
See moreDeclaration
Swift
@objc(THEOplayerChromecastMetadataImage) public class ChromecastMetadataImage : NSObject, Codable -
The Chromecast metadata type.
See moreDeclaration
Swift
@objc(THEOplayerChromecastMetadataType) public enum ChromecastMetadataType : Intextension ChromecastMetadataType: Codable -
The different types of errors.
See moreDeclaration
Swift
@objc(THEOplayerErrorCode) public enum ErrorCode : Int
ChromeCast API Reference