public class AppLovinSdkSettings
extends java.lang.Object
| Constructor and Description |
|---|
AppLovinSdkSettings()
Deprecated.
- Use
AppLovinSdkSettings(Context) instead. |
AppLovinSdkSettings(android.content.Context context)
Creates an instance of AppLovin SDK's settings object with the given context to extract.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getBannerAdRefreshSeconds()
Deprecated.
Manually setting of banner ad refresh interval has been deprecated as automatic banner refresh has been disabled. This method will be removed in a future SDK version.
|
java.util.List<java.lang.String> |
getInitializationAdUnitIds()
Get the list of MAX ad unit ids that will be used for this instance of the SDK.
|
java.util.List<java.lang.String> |
getTestDeviceAdvertisingIds()
Get the list of advertising identifiers that will receive test ads.
|
boolean |
isAdInfoButtonEnabled()
Whether the ad info button will be displayed on fullscreen ads (debug builds only).
|
boolean |
isExceptionHandlerEnabled()
Whether or not the AppLovin SDK listens to exceptions.
|
boolean |
isMuted()
Whether video ads begin in a muted state or not.
|
boolean |
isVerboseLoggingEnabled()
Check if verbose logging is enabled for the AppLovin SDK.
|
void |
setAdInfoButtonEnabled(boolean adInfoButtonEnabled)
Set whether the ad info button should be displayed on fullscreen ads (debug builds only).
|
void |
setBannerAdRefreshSeconds(long adRefreshSeconds)
Deprecated.
Manually setting of banner ad refresh interval has been deprecated as automatic banner refresh has been disabled. This method will be removed in a future SDK version.
|
void |
setExceptionHandlerEnabled(boolean exceptionHandlerEnabled)
Set whether or not the AppLovin SDK listens to exceptions.
|
void |
setInitializationAdUnitIds(java.util.List<java.lang.String> initializationAdUnitIds)
Set the MAX ad unit ids that will be used for this instance of the SDK.
|
void |
setMuted(boolean muted)
Set whether to begin video ads in a muted state or not.
|
void |
setTestDeviceAdvertisingIds(java.util.List<java.lang.String> testDeviceAdvertisingIds)
Enable devices to receive test ads, by passing in the advertising identifier (GAID) of each test device.
|
void |
setVerboseLogging(boolean isVerboseLoggingEnabled)
Toggle verbose logging of AppLovin SDK.
|
java.lang.String |
toString() |
public AppLovinSdkSettings()
AppLovinSdkSettings(Context) instead.public AppLovinSdkSettings(android.content.Context context)
public void setTestDeviceAdvertisingIds(java.util.List<java.lang.String> testDeviceAdvertisingIds)
public java.util.List<java.lang.String> getTestDeviceAdvertisingIds()
public void setInitializationAdUnitIds(java.util.List<java.lang.String> initializationAdUnitIds)
public java.util.List<java.lang.String> getInitializationAdUnitIds()
public void setVerboseLogging(boolean isVerboseLoggingEnabled)
isVerboseLoggingEnabled - True if log messages should be output.public boolean isVerboseLoggingEnabled()
public boolean isMuted()
false.public void setMuted(boolean muted)
muted - If ads should begin in a muted state.public void setAdInfoButtonEnabled(boolean adInfoButtonEnabled)
public boolean isAdInfoButtonEnabled()
public void setExceptionHandlerEnabled(boolean exceptionHandlerEnabled)
true.public boolean isExceptionHandlerEnabled()
true.@Deprecated public long getBannerAdRefreshSeconds()
@Deprecated public void setBannerAdRefreshSeconds(long adRefreshSeconds)
public java.lang.String toString()
toString in class java.lang.Object