You can set one-click to turn off the volume of third-party ad SDKs through code. This interface takes effect in real time. You can set it during initialization or before loading the ad placement you want to mute.
This feature is supported in SDK v6.4.89 and above.
Supported Ad Platforms | Supported Ad Formats |
---|---|
AdMob | All ad formats |
Inmobi | All ad formats |
AppLovin | All ad formats |
Mintegral | Native, Interstitial, Rewarded Video |
Fyber | Interstitial |
Tencent Ad | Interstitial, Rewarded, Native |
Kuaishou | Interstitial, Rewarded, Native (draw type only) |
iQIYI | Rewarded, Banner, Native |
Meishu | Interstitial, Rewarded, Native |
Tanx | Rewarded, Native |
//#import <AnyThinkSDK/AnyThinkSDK.h>
[[ATSDKGlobalSetting sharedManager] setIsMute:YES];
Notes
- If the setIsMute API is called, the API takes precedence. Setting it to YES will mute, setting it to NO will not mute
- If the setIsMute API is not called and TopOn dashboard has been configured, then TopOn dashboard configuration takes precedence
- For Admob, regardless of setting YES or NO through API, or enabling or disabling through TopOn dashboard, it will be muted