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
true
Declaration
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
false
Declaration
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