Package | com.distriqt.extension.admob.applovin |
Class | public final class AdMobAppLovin |
Inheritance | AdMobAppLovin ![]() |
This class represents the applovin extension.
Property | Defined By | ||
---|---|---|---|
implementation : String [read-only]
The implementation currently in use. | AdMobAppLovin | ||
isSupported : Boolean [static] [read-only]
Whether the current device supports the extensions functionality
| AdMobAppLovin | ||
nativeVersion : String [read-only]
The native version string of the native extension. | AdMobAppLovin | ||
service : AdMobAppLovin [static] [read-only]
The singleton instance of the AppLovin class. | AdMobAppLovin | ||
version : String [read-only]
The version of this extension. | AdMobAppLovin |
Method | Defined By | ||
---|---|---|---|
Constructor
You should not call this directly, but instead use the singleton access
| AdMobAppLovin | ||
dispose():void
Disposes the extension and releases any allocated resources. | AdMobAppLovin | ||
initializeSdk(sdkKey:String):void
Initialize the SDK as soon as possible after your app starts by calling this method. | AdMobAppLovin | ||
setDoNotSell(flag:Boolean):void
U.S. | AdMobAppLovin | ||
setHasUserConsent(consented:Boolean):void
AppLovin SDK requires that publishers set a flag indicating whether a user located in the European Union (i.e., EU/GDPR data subject) has provided opt-in consent for the collection and use of personal data. | AdMobAppLovin | ||
setIsAgeRestrictedUser(flag:Boolean):void
If the user is known to be in an age-restricted category (i.e., under the age of 16) please set the following flag to true. | AdMobAppLovin |
Constant | Defined By | ||
---|---|---|---|
EXT_CONTEXT_ID : String = com.distriqt.admob.AppLovin [static] | AdMobAppLovin | ||
VERSION : String = 14.0.0 [static] | AdMobAppLovin |
implementation | property |
implementation:String
[read-only]
The implementation currently in use. This should be one of the following depending on the platform in use and the functionality supported by this extension:
Android
iOS
default
unknown
public function get implementation():String
isSupported | property |
isSupported:Boolean
[read-only] Whether the current device supports the extensions functionality
public static function get isSupported():Boolean
nativeVersion | property |
nativeVersion:String
[read-only]
The native version string of the native extension.
public function get nativeVersion():String
service | property |
service:AdMobAppLovin
[read-only] The singleton instance of the AppLovin class.
public static function get service():AdMobAppLovin
Error — If there was a problem creating or accessing the extension, or if the key is invalid
|
version | property |
version:String
[read-only]
The version of this extension.
This should be of the format, MAJOR.MINOR.BUILD
public function get version():String
AdMobAppLovin | () | Constructor |
public function AdMobAppLovin()
Constructor You should not call this directly, but instead use the singleton access
dispose | () | method |
public function dispose():void
Disposes the extension and releases any allocated resources. Once this function
has been called, a call to init
is neccesary again before any of the
extensions functionality will work.
initializeSdk | () | method |
public function initializeSdk(sdkKey:String):void
Initialize the SDK as soon as possible after your app starts by calling this method. This is required to allow your application to appear in the AppLovin dashboard, however is not required once you have setup mediation.
Parameters
sdkKey:String |
setDoNotSell | () | method |
public function setDoNotSell(flag:Boolean):void
U.S. states privacy laws require giving users the right to opt out of the "sale" of their "personal information"
(as the law defines those terms), with the opt-out offered via a prominent "Do Not Sell My Personal Information"
link on the "selling" party's homepage. The U.S. states privacy laws compliance guide offers the ability to enable
restricted data processing for Google ad serving, but Google is unable to apply this setting to each ad network
in your mediation chain. Therefore, you must identify each ad network in your mediation chain that may participate
in the sale of personal information and follow guidance from each of those networks to ensure compliance.
The AppLovin SDK includes the setDoNotSell()
method to let publishers opt out of the sale of personal information.
The following sample code shows how to pass this consent information to the AppLovin SDK.
These options must be set before you initialize the Google Mobile Ads SDK to ensure they get
forwarded properly to the AppLovin SDK.
Parameters
flag:Boolean |
setHasUserConsent | () | method |
public function setHasUserConsent(consented:Boolean):void
AppLovin SDK requires that publishers set a flag indicating whether a user located in the European Union (i.e., EU/GDPR data subject) has provided opt-in consent for the collection and use of personal data. For users outside the EU, this flag is not required to be set in the SDK and if set, will not impact how the ad is served to such non-EU users. If the user has consented, please set the following flag to true.
Parameters
consented:Boolean |
setIsAgeRestrictedUser | () | method |
public function setIsAgeRestrictedUser(flag:Boolean):void
If the user is known to be in an age-restricted category (i.e., under the age of 16) please set the following flag to true.
Parameters
flag:Boolean |
EXT_CONTEXT_ID | Constant |
public static const EXT_CONTEXT_ID:String = com.distriqt.admob.AppLovin
VERSION | Constant |
public static const VERSION:String = 14.0.0