AI-generated Key Takeaways
-
GADVideoOptions allows configuring video ad behavior.
-
The
startMutedproperty determines if videos begin muted, defaulting to YES. -
customControlsRequestedindicates if custom play/pause/mute controls are desired for the video. -
clickToExpandRequestedspecifies whether the video should have click-to-expand functionality.
GADVideoOptions
@interface GADVideoOptions : GADAdLoaderOptionsVideo ad options.
-
Indicates whether videos should start muted. By default this property value is YES.
Declaration
Swift
var shouldStartMuted: Bool { get set }Objective-C
@property (nonatomic) BOOL startMuted; -
Indicates whether the requested video should have custom controls enabled for play/pause/mute/unmute.
Declaration
Swift
var areCustomControlsRequested: Bool { get set }Objective-C
@property (nonatomic) BOOL customControlsRequested; -
Indicates whether the requested video should have the click to expand behavior.
Declaration
Swift
var isClickToExpandRequested: Bool { get set }Objective-C
@property (nonatomic) BOOL clickToExpandRequested;