Packagecom.distriqt.extension.adverts.consent
Classpublic class ConsentOptions
InheritanceConsentOptions Inheritance Object



Public Properties
 PropertyDefined By
  dialogContent : ConsentDialogContent
ConsentOptions
  privacyUrl : String
Your app's privacy policy URL
ConsentOptions
  showAdFreeOption : Boolean = false
ConsentOptions
  showNonPersonalisedAdsOption : Boolean = false
ConsentOptions
  showPersonalisedAdsOption : Boolean = false
ConsentOptions
Public Methods
 MethodDefined By
  
ConsentOptions(privacyUrl:String)
ConsentOptions
  
If a custom dialog is presented for the platform you can customise the content in the dialog by setting the ConsentDialogContent.
ConsentOptions
  
Indicates that the consent form should show an ad-free app option.
ConsentOptions
  
Indicates that the consent form should show a non-personalized ad option.
ConsentOptions
  
Indicates that the consent form should show a personalized ad option.
ConsentOptions
Property Detail
dialogContentproperty
public var dialogContent:ConsentDialogContent

See also

privacyUrlproperty 
public var privacyUrl:String

Your app's privacy policy URL

showAdFreeOptionproperty 
public var showAdFreeOption:Boolean = false

See also

showNonPersonalisedAdsOptionproperty 
public var showNonPersonalisedAdsOption:Boolean = false

See also

showPersonalisedAdsOptionproperty 
public var showPersonalisedAdsOption:Boolean = false

See also

Constructor Detail
ConsentOptions()Constructor
public function ConsentOptions(privacyUrl:String)

Parameters
privacyUrl:String — Your app's privacy policy URL
Method Detail
setDialogContent()method
public function setDialogContent(dialogContent:ConsentDialogContent):ConsentOptions

If a custom dialog is presented for the platform you can customise the content in the dialog by setting the ConsentDialogContent.

Parameters

dialogContent:ConsentDialogContent

Returns
ConsentOptions — The ConsentOptions instance for chaining calls
withAdFreeOption()method 
public function withAdFreeOption():ConsentOptions

Indicates that the consent form should show an ad-free app option.

Returns
ConsentOptions — The ConsentOptions instance for chaining calls

See also

withNonPersonalizedAdsOption()method 
public function withNonPersonalizedAdsOption():ConsentOptions

Indicates that the consent form should show a non-personalized ad option.

Returns
ConsentOptions — The ConsentOptions instance for chaining calls

See also

withPersonalizedAdsOption()method 
public function withPersonalizedAdsOption():ConsentOptions

Indicates that the consent form should show a personalized ad option.

Returns
ConsentOptions — The ConsentOptions instance for chaining calls

See also