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 more

    Declaration

    Swift

    public protocol Chromecast : EventDispatcherProtocol
  • Describes the configuration of the Cast integrations.

    See more

    Declaration

    Swift

    @objc(THEOplayerCastConfiguration)
    public class CastConfiguration : NSObject, Encodable
  • The cast strategies that specify the ways an existing chromecast session can be joined.

    See more

    Declaration

    Swift

    @objc(THEOplayerCastStrategy)
    public enum CastStrategy : Int
    extension CastStrategy: Encodable
  • Indicates the state of the casting processs.

    See more

    Declaration

    Swift

    @objc(THEOplayerPlayerCastState)
    public enum PlayerCastState : Int
    extension PlayerCastState: Decodable
  • The cast error.

    See more

    Declaration

    Swift

    public class CastError
  • The description of the metadata used by Chromecast.

    See more

    Declaration

    Swift

    @objc(THEOplayerChromecastMetadataDescription)
    public class ChromecastMetadataDescription : MetadataDescription
  • The metadata of a Chromecast image.

    See more

    Declaration

    Swift

    @objc(THEOplayerChromecastMetadataImage)
    public class ChromecastMetadataImage : NSObject, Codable
  • The Chromecast metadata type.

    See more

    Declaration

    Swift

    @objc(THEOplayerChromecastMetadataType)
    public enum ChromecastMetadataType : Int
    extension ChromecastMetadataType: Codable
  • The different types of errors.

    See more

    Declaration

    Swift

    @objc(THEOplayerErrorCode)
    public enum ErrorCode : Int