GoogleIMAConfigurationBuilder
@objc(THEOplayerGoogleIMAConfigurationBuilder)
public class GoogleIMAConfigurationBuilder : NSObject
An object to create or build GoogleIMAAdsConfigurations.
-
Indicates whether the native IMA SDK is being used. Defaults to
trueDeclaration
Swift
@objc public var useNativeIMA: Bool -
Indicates whether the ads UI needs to be disabled (chromeless ads). Only applies to non TrueView ads. Defaults to
falseDeclaration
Swift
@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
@objc public var enableBackgroundPlayback: Bool -
Creates a GoogleIMAAdsConfiguration
Declaration
Swift
@objc public func build() -> GoogleIMAAdsConfiguration
GoogleIMAConfigurationBuilder Class Reference