Package | com.distriqt.extension.admob.tapjoy |
Class | public final class TapJoy |
Inheritance | TapJoy ![]() |
This class represents the TapJoy extension.
Property | Defined By | ||
---|---|---|---|
implementation : String [read-only]
The implementation currently in use. | TapJoy | ||
instance : TapJoy [static] [read-only]
The singleton instance of the TapJoy class. | TapJoy | ||
isSupported : Boolean [static] [read-only]
Whether the current device supports the extensions functionality
| TapJoy | ||
nativeVersion : String [read-only]
The native version string of the native extension. | TapJoy | ||
service : TapJoy [static] [read-only]
The singleton instance of the TapJoy class. | TapJoy | ||
version : String [read-only]
The version of this extension. | TapJoy |
Method | Defined By | ||
---|---|---|---|
TapJoy()
Constructor
You should not call this directly, but instead use the singleton access
| TapJoy | ||
dispose():void
Disposes the extension and releases any allocated resources. | TapJoy | ||
setSubjectToGDPR(value:Boolean):void
Set whether the user is subject to GDPR. | TapJoy | ||
setUserConsent(consented:Boolean):void
Set whether the user has consented to personal ads. | TapJoy | ||
setUSPrivacy(value:String):void
U.S. | TapJoy |
Constant | Defined By | ||
---|---|---|---|
EXT_CONTEXT_ID : String = com.distriqt.admob.TapJoy [static] | TapJoy | ||
VERSION : String = 14.0.0 [static] | TapJoy |
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
instance | property |
instance:TapJoy
[read-only] The singleton instance of the TapJoy class.
public static function get instance():TapJoy
Error — If there was a problem creating or accessing the extension, or if the key is invalid
|
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:TapJoy
[read-only] The singleton instance of the TapJoy class.
public static function get service():TapJoy
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
TapJoy | () | Constructor |
public function TapJoy()
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.
setSubjectToGDPR | () | method |
public function setSubjectToGDPR(value:Boolean):void
Set whether the user is subject to GDPR. Under the Google EU User Consent Policy, you must ensure that certain disclosures are given to, and consents obtained from, users in the European Economic Area (EEA) regarding the use of device identifiers and personal data. This policy reflects the requirements of the EU ePrivacy Directive and the General Data Protection Regulation (GDPR). When seeking consent, you must identify each ad network in your mediation chain that may collect, receive, or use personal data and provide information about each network's use. Google currently is unable to pass the user's consent choice to such networks automatically. If you choose to call this method, it is recommended that you do so prior to requesting ads via the Google Mobile Ads SDK.
Parameters
value:Boolean — true if the user is subject to GDPR
|
setUserConsent | () | method |
public function setUserConsent(consented:Boolean):void
Set whether the user has consented to personal ads. Under the Google EU User Consent Policy, you must ensure that certain disclosures are given to, and consents obtained from, users in the European Economic Area (EEA) regarding the use of device identifiers and personal data. This policy reflects the requirements of the EU ePrivacy Directive and the General Data Protection Regulation (GDPR). When seeking consent, you must identify each ad network in your mediation chain that may collect, receive, or use personal data and provide information about each network's use. Google currently is unable to pass the user's consent choice to such networks automatically. If you choose to call this method, it is recommended that you do so prior to requesting ads via the Google Mobile Ads SDK.
Parameters
consented:Boolean — true if the user has consented to personalised ads
|
setUSPrivacy | () | method |
public function setUSPrivacy(value:String):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. In Tapjoy SDK version 12.6.0, Tapjoy added a user consent API to support privacy settings. If you choose to call this method, it is recommended that you do so prior to requesting ads through the Google Mobile Ads SDK.
Parameters
value:String — Value for US privacy eg 1YYY
|
EXT_CONTEXT_ID | Constant |
public static const EXT_CONTEXT_ID:String = com.distriqt.admob.TapJoy
VERSION | Constant |
public static const VERSION:String = 14.0.0