GoogleMobileAds Framework Reference
GADNativeMuteThisAdLoaderOptions
Mute This Ad options.
-
Set to YES to request the custom Mute This Ad feature. By default, this property’s value is YES.
Declaration
Swift
var isCustomMuteThisAdRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL customMuteThisAdRequested;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
[null,null,["Last updated 2025-02-04 UTC."],[[["`GADNativeMuteThisAdLoaderOptions` provides options for controlling the \"Mute This Ad\" feature in native ads."],["The `customMuteThisAdRequested` property, enabled by default, determines whether to request the custom \"Mute This Ad\" implementation."]]],["The `GADNativeMuteThisAdLoaderOptions` class provides options for the \"Mute This Ad\" feature. The key property is `customMuteThisAdRequested`, a boolean value that determines whether to request the custom \"Mute This Ad\" functionality. By default, `customMuteThisAdRequested` is set to YES, enabling the custom Mute This Ad feature request. This can be modified. This feature is available in both Swift and Objective-C, and it is part of the `GADAdLoaderOptions` class.\n"]]