Package | com.distriqt.extension.adverts.consent |
Class | public class ConsentOptions |
Inheritance | ConsentOptions Object |
Property | Defined 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 |
Method | Defined 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 |
dialogContent | property |
privacyUrl | property |
public var privacyUrl:String
Your app's privacy policy URL
showAdFreeOption | property |
showNonPersonalisedAdsOption | property |
showPersonalisedAdsOption | property |
ConsentOptions | () | Constructor |
public function ConsentOptions(privacyUrl:String)
Parameters
privacyUrl:String — Your app's privacy policy URL
|
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 |
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.
ReturnsConsentOptions — 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.
ReturnsConsentOptions — 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.
ReturnsConsentOptions — The ConsentOptions instance for chaining calls
|
See also