THEOplayerCastHelper

@objc
public class THEOplayerCastHelper : NSObject

This class includes a default application ID to be used in a custom GCKCastOptions implementation and a function to set the GCKCastContext instance with a default GCKCastOptions.

  • Default THEOplayer chromecast receiver application identifier.

    Declaration

    Swift

    @objc
    public static var theoplayerReceiverApplicationID: String
  • This function will set the GCKCastContext shared instance with a default implementation of GCKCastOptions that will set the THEOplayer chromecast receiver as the receiver and set the physicalVolumeButtonsWillControlDeviceVolume parameter to true.

    Declaration

    Swift

    @objc
    public static func setGCKCastContextSharedInstanceWithDefaultCastOptions()