Packagecom.distriqt.extension.admob.applovin
Classpublic final class AdMobAppLovin
InheritanceAdMobAppLovin Inheritance flash.events.EventDispatcher

This class represents the applovin extension.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined By
  EXT_CONTEXT_ID : String = com.distriqt.admob.AppLovin
[static]
AdMobAppLovin
  VERSION : String = 14.0.0
[static]
AdMobAppLovin
Property Detail
implementationproperty
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:


Implementation
    public function get implementation():String
isSupportedproperty 
isSupported:Boolean  [read-only]

Whether the current device supports the extensions functionality


Implementation
    public static function get isSupported():Boolean
nativeVersionproperty 
nativeVersion:String  [read-only]

The native version string of the native extension.


Implementation
    public function get nativeVersion():String
serviceproperty 
service:AdMobAppLovin  [read-only]

The singleton instance of the AppLovin class.


Implementation
    public static function get service():AdMobAppLovin

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
versionproperty 
version:String  [read-only]

The version of this extension.

This should be of the format, MAJOR.MINOR.BUILD


Implementation
    public function get version():String
Constructor Detail
AdMobAppLovin()Constructor
public function AdMobAppLovin()

Constructor You should not call this directly, but instead use the singleton access

Method Detail
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

Constant Detail
EXT_CONTEXT_IDConstant
public static const EXT_CONTEXT_ID:String = com.distriqt.admob.AppLovin

VERSIONConstant 
public static const VERSION:String = 14.0.0