Package | com.distriqt.extension.admob.facebookaudience |
Class | public final class AdMobFacebookAudience |
Inheritance | AdMobFacebookAudience ![]() |
This class represents the facebookaudience extension.
Property | Defined By | ||
---|---|---|---|
implementation : String [read-only]
The implementation currently in use. | AdMobFacebookAudience | ||
isSupported : Boolean [static] [read-only]
Whether the current device supports the extensions functionality
| AdMobFacebookAudience | ||
nativeVersion : String [read-only]
The native version string of the native extension. | AdMobFacebookAudience | ||
service : AdMobFacebookAudience [static] [read-only]
The singleton instance of the FacebookAudience class. | AdMobFacebookAudience | ||
version : String [read-only]
The version of this extension. | AdMobFacebookAudience |
Method | Defined By | ||
---|---|---|---|
Constructor
You should not call this directly, but instead use the singleton access
| AdMobFacebookAudience | ||
dispose():void
Disposes the extension and releases any allocated resources. | AdMobFacebookAudience | ||
setAdvertiserTrackingEnabled(enabled:Boolean):void
Starting with iOS 14, you will need to set the setAdvertiserTrackingEnabled flag. | AdMobFacebookAudience |
Constant | Defined By | ||
---|---|---|---|
EXT_CONTEXT_ID : String = com.distriqt.admob.FacebookAudience [static] | AdMobFacebookAudience | ||
VERSION : String = 7.0.0 [static] | AdMobFacebookAudience |
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:AdMobFacebookAudience
[read-only] The singleton instance of the FacebookAudience class.
public static function get service():AdMobFacebookAudience
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
AdMobFacebookAudience | () | Constructor |
public function AdMobFacebookAudience()
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.
setAdvertiserTrackingEnabled | () | method |
public function setAdvertiserTrackingEnabled(enabled:Boolean):void
Starting with iOS 14, you will need to set the setAdvertiserTrackingEnabled flag. This allows you to inform Facebook whether to use the data to deliver personalized ads in line with your own legal obligations, platform terms, and commitments you’ve made to your users. If the flag is set to false we will not be able to deliver personalized ads. You will need to implement the setAdvertiserTrackingEnabled flag irrespective of the use of mediation. Ref: https://developers.facebook.com/docs/audience-network/guides/advertising-tracking-enabled/
Parameters
enabled:Boolean |
EXT_CONTEXT_ID | Constant |
public static const EXT_CONTEXT_ID:String = com.distriqt.admob.FacebookAudience
VERSION | Constant |
public static const VERSION:String = 7.0.0