Packagecom.distriqt.extension.adverts.ump
Interfacepublic interface ConsentInformation extends flash.events.IEventDispatcher

Utility methods for collecting consent from users



Public Methods
 MethodDefined By
  
canRequestAds():Boolean
Indicates whether the app has completed the necessary steps for gathering updated user consent.
ConsentInformation
  
Gets the current consent status
ConsentInformation
  
Deprecated: Deprecated
Gets the current consent type
ConsentInformation
  
Gets the status indicating whether a privacy options button is required.
ConsentInformation
  
Returns true if a ConsentForm is available, false otherwise.
ConsentInformation
  
Requests a consent information update
ConsentInformation
  
reset():void
Resets the ConsentInformation to initialized status
ConsentInformation
Method Detail
canRequestAds()method
public function canRequestAds():Boolean

Indicates whether the app has completed the necessary steps for gathering updated user consent.

Returns
Booleantrue if the app has completed the necessary steps for gathering updated user consent
getConsentStatus()method 
public function getConsentStatus():int

Gets the current consent status

Returns
intConsentStatus value

See also

getConsentType()method 
public function getConsentType():int
Deprecated: Deprecated

Gets the current consent type

Returns
intConsentType value
getPrivacyOptionsRequirementStatus()method 
public function getPrivacyOptionsRequirementStatus():String

Gets the status indicating whether a privacy options button is required.

Returns
StringPrivacyOptionsRequirementStatus value

See also

isConsentFormAvailable()method 
public function isConsentFormAvailable():Boolean

Returns true if a ConsentForm is available, false otherwise.

Returns
Booleantrue if a consent form is available
requestConsentInfoUpdate()method 
public function requestConsentInfoUpdate(params:ConsentRequestParameters):void

Requests a consent information update

Parameters

params:ConsentRequestParameters — The request params

reset()method 
public function reset():void

Resets the ConsentInformation to initialized status