GoogleIMAConfigurationBuilder

@available(*, deprecated, message: "This class will be removed in future releases. Configuration for Google IMA is moved to `THEOplayerGoogleIMAIntegration`.")
@objc(THEOplayerGoogleIMAConfigurationBuilder)
public class GoogleIMAConfigurationBuilder : NSObject

An object to create or build GoogleIMAAdsConfigurations.

  • Indicates whether the ads UI needs to be disabled (chromeless ads). Only applies to non TrueView ads. Defaults to false

    Declaration

    Swift

    @available(*, deprecated, message: "This property will be removed in future releases. To configure this property, set the `disableUi` property on `IMAAdsRenderingSettings` and pass the settings to `GoogleImaIntegration` returned by `GoogleIMAIntegrationFactory.createIntegration`. For more info check https://github.com/THEOplayer/theoplayer-sdk-ios/tree/master/THEOplayer-Integration-GoogleIMA")
    @objc
    public var disableUI: Bool
  • Indicates whether background audio playback for the IMA SDK is enabled. Defaults to true.

    Remark

    Only has effect when used with native IMA configuration.

    Declaration

    Swift

    @available(*, deprecated, message: "This property will be removed in future releases. To configure this property, set the `enableBackgroundPlayback` property on `IMASettings` and pass the settings to `GoogleIMAIntegrationFactory.createIntegration`. For more info check https://github.com/THEOplayer/theoplayer-sdk-ios/tree/master/THEOplayer-Integration-GoogleIMA")
    @objc
    public var enableBackgroundPlayback: Bool
  • Creates a GoogleIMAAdsConfiguration

    Declaration

    Swift

    @available(*, deprecated, message: "This method will be removed in future releases. Configuration for Google IMA is moved to `THEOplayerGoogleIMAIntegration`.")
    @objc
    public func build() -> GoogleIMAAdsConfiguration