Packagecom.distriqt.extension.admob.tapjoy
Classpublic final class TapJoy
InheritanceTapJoy Inheritance flash.events.EventDispatcher

This class represents the TapJoy extension.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
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
Public Constants
 ConstantDefined By
  EXT_CONTEXT_ID : String = com.distriqt.admob.TapJoy
[static]
TapJoy
  VERSION : String = 14.0.0
[static]
TapJoy
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
instanceproperty 
instance:TapJoy  [read-only]

The singleton instance of the TapJoy class.


Implementation
    public static function get instance():TapJoy

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
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:TapJoy  [read-only]

The singleton instance of the TapJoy class.


Implementation
    public static function get service():TapJoy

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
TapJoy()Constructor
public function TapJoy()

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.

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:Booleantrue 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:Booleantrue 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

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

VERSIONConstant 
public static const VERSION:String = 14.0.0