public class

AppLovinSdkSettings

extends Object
java.lang.Object
   ↳ com.applovin.sdk.AppLovinSdkSettings

Class Overview

This class contains settings for AppLovin SDK.

Summary

Public Constructors
AppLovinSdkSettings()
This constructor is deprecated. - Use AppLovinSdkSettings(Context) instead.
AppLovinSdkSettings(Context context)
Creates an instance of AppLovin SDK's settings object with the given context to extract.
Public Methods
String getAutoPreloadSizes()
String getAutoPreloadTypes()
long getBannerAdRefreshSeconds()
This method is 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.
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)
This method is 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 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.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AppLovinSdkSettings ()

This constructor is deprecated.
- Use AppLovinSdkSettings(Context) instead.

public AppLovinSdkSettings (Context context)

Creates an instance of AppLovin SDK's settings object with the given context to extract.

Public Methods

public String getAutoPreloadSizes ()

public String getAutoPreloadTypes ()

public long getBannerAdRefreshSeconds ()

This method is 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.

public boolean isMuted ()

Whether video ads begin in a muted state or not. Defaults to `true`.

public boolean isTestAdsEnabled ()

Check if test ads are enabled for the AppLovin SDK. If enabled AppLovin will display test ads from our servers, guaranteeing 100% fill.

public boolean isVerboseLoggingEnabled ()

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.

public 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.

public 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.

public void setBannerAdRefreshSeconds (long adRefreshSeconds)

This method is 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.

public void setMuted (boolean muted)

Set whether to begin video ads in a muted state or not. Defaults to `true`.

Parameters
muted If ads should begin in a muted state.

public void setTestAdsEnabled (boolean isTestAdsEnabled)

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.

Parameters
isTestAdsEnabled True if you want to receive test ads. False if you want live ads.

public void setVerboseLogging (boolean isVerboseLoggingEnabled)

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.

Parameters
isVerboseLoggingEnabled True if log messages should be output.

public String toString ()