Wiki

Clone wiki

Adobe Air Plugin / onManagedConsentNeedsUserInterface

Overview

Notifies about the need to show the consent dialog. After this event is called you should use showConsentDialogIfNeeded method.

Syntax

onManagedConsentNeedsUserInterface(event:AATKitEvent):void
event (required)

AATKitEvent. Event object.

returns void.

Examples

#!ActionScript
import com.intentsoftware.adobe.aatkit.AATKitExtension;
import com.intentsoftware.adobe.aatkit.AATKitEvent;

    .
    .
    .

aatkit.addEventListener(AATKitEvent.MANAGEDCONSENTNEEDSUSERINTERFACE, onManagedConsentNeedsUserInterface);

function onManagedConsentNeedsUserInterface(event:AATKitEvent):void
{
    trace("onManagedConsentNeedsUserInterface");
    aatkit.showConsentDialogIfNeeded();
}

Updated