-
- All Implemented Interfaces:
-
com.adsdk.android.ads.base.BaseAdManager
public class AdMobAdSdkManager implements BaseAdManager
-
-
Field Summary
Fields Modifier and Type Field Description private static volatile AdMobAdSdkManagerinstance
-
Method Summary
Modifier and Type Method Description static AdMobAdSdkManagergetInstance()voidinitialize(@NonNull() Context context, @Nullable() OnSdkInitializationListener listener)ContextgetContext()booleanisSdkInitialed()voidenableDebug(boolean enable)voidshowMediationDebugger(Activity activity)voidsetHasUserConsent(boolean hasUserConsent, Context context)OxSdkConfigurationImplgetSdkConfiguration()voidsetMute(Context context, boolean mute)Set whether to begin video ads in a muted state or not.Params:muted – If ads should begin in a muted state. booleanshouldShowConsentDialog()是否应该展示GDPR -
-
Method Detail
-
getInstance
static AdMobAdSdkManager getInstance()
-
initialize
void initialize(@NonNull() Context context, @Nullable() OnSdkInitializationListener listener)
-
getContext
Context getContext()
-
isSdkInitialed
boolean isSdkInitialed()
-
enableDebug
void enableDebug(boolean enable)
-
showMediationDebugger
void showMediationDebugger(Activity activity)
-
setHasUserConsent
void setHasUserConsent(boolean hasUserConsent, Context context)
-
getSdkConfiguration
OxSdkConfigurationImpl getSdkConfiguration()
-
setMute
void setMute(Context context, boolean mute)
Set whether to begin video ads in a muted state or not.Params:muted – If ads should begin in a muted state.
-
shouldShowConsentDialog
boolean shouldShowConsentDialog()
是否应该展示GDPR
-
-
-
-