public final class MobileAds
extends java.lang.Object
Constructor and Description |
---|
MobileAds() |
Modifier and Type | Method and Description |
---|---|
static void |
enableDebugErrorIndicator(boolean enableIndicator)
Enable or disable visibility error indicator in Debug Mode.
|
static void |
enableLogging(boolean enableLogging)
Enables SDK logs.
|
static java.lang.String |
getLibraryVersion()
Returns SDK version.
|
static void |
setUserConsent(boolean consent)
Set a value indicating whether user from GDPR region allowed to collect personal data
which is used for analytics and ad targeting.
|
public static void enableLogging(boolean enableLogging)
enableLogging
- If set to true
, logs will be enabled,
otherwise disabled. Default param is false
.public static java.lang.String getLibraryVersion()
public static void enableDebugErrorIndicator(boolean enableIndicator)
enableIndicator
- If set to true
, visibility error indicator will be displayed, otherwise not.public static void setUserConsent(boolean consent)
consent
- true
if user provided consent to collect personal data, otherwise false
.