java.lang.Object | |
↳ | com.applovin.sdk.AppLovinSdkSettings |
This class contains settings for AppLovin SDK.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AppLovinSdkSettings() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AppLovinSdkSettings(Context context) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | getAutoPreloadSizes() | ||||||||||
String | getAutoPreloadTypes() | ||||||||||
boolean |
isMuted()
Whether video ads begin in a muted state or not.
| ||||||||||
boolean |
isTestAdsEnabled()
Check if test ads are enabled for the AppLovin SDK.
| ||||||||||
boolean |
isVerboseLoggingEnabled()
Check if verbose logging is enabled for the AppLovin SDK.
| ||||||||||
void |
setAutoPreloadSizes(String autoPreloadSizes)
This method is deprecated.
Manually managing what ads SDK should automatically preload has been deprecated and will be removed in a future SDK version.
| ||||||||||
void |
setAutoPreloadTypes(String autoPreloadTypes)
This method is deprecated.
Manually managing what ads SDK should automatically preload has been deprecated and will be removed in a future SDK version.
| ||||||||||
void |
setBannerAdRefreshSeconds(long adRefreshSeconds)
Get number of seconds to refresh banner ad in.
| ||||||||||
void |
setMuted(boolean muted)
Set whether to begin video ads in a muted state or not.
| ||||||||||
void |
setTestAdsEnabled(boolean isTestAdsEnabled)
Toggle test ads for the SDK.
| ||||||||||
void |
setVerboseLogging(boolean isVerboseLoggingEnabled)
Toggle verbose logging of AppLovin SDK.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Whether video ads begin in a muted state or not. Defaults to `true`.
Check if test ads are enabled for the AppLovin SDK.
If enabled AppLovin will display test ads from our servers, guaranteeing 100% fill.Check if verbose logging is enabled for the AppLovin SDK.
If enabled AppLovin messages will appear in standard application log accessible via logcat. All log messages will have "AppLovinSdk" tag.
This method is deprecated.
Manually managing what ads SDK should automatically preload has been deprecated and will be removed in a future SDK version.
This method is deprecated.
Manually managing what ads SDK should automatically preload has been deprecated and will be removed in a future SDK version.
Get number of seconds to refresh banner ad in. Possible values should be greater then 30 seconds.
If the value is 0 ad will not be refreshed at all. If the value is -1 ad would be refreshed on every call ofadView.loadNextAd()
.
If the value is any other negative number system default would be used.
Set whether to begin video ads in a muted state or not. Defaults to `true`.
muted | If ads should begin in a muted state. |
---|
Toggle test ads for the SDK.
If enabled, AppLovin will display test ads from our servers, guaranteeing 100% fill. This is for integration testing only. Ensure that you set this to false when the app is launched. Test ads are disabled by default.isTestAdsEnabled | True if you want to receive test ads. False if you want live ads. |
---|
Toggle verbose logging of AppLovin SDK.
If enabled AppLovin messages will appear in standard application log accessible via logcat. All log messages will have "AppLovinSdk" tag. Verbose logging is disabled by default.isVerboseLoggingEnabled | True if log messages should be output. |
---|