Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
The ExtensionInfo class provides details about a particular AIR Native Extension.
copyright:String
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
The extension copyright information, as provided in the extension's XML descriptor file. This may be null
if no copyright info was given.
Implementation
public function get copyright():String
description:String
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
The extension description, as provided in the extension's XML descriptor file. This may be null
if no descriptionr was given.
Implementation
public function get description():String
extensionID:String
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
Returns the identifier for this extension.
Implementation
public function get extensionID():String
inAppDescriptor:Boolean
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
A Boolean value indicating whether the extension was present in the Application Descriptor
file or whether it was loaded and registered dynamically. If the extension is listed within the
extensions
section of the app descriptor, this property returns
true
, but if the extension was loaded via ExtensionContent.loadExtension
then this property returns false
.
Implementation
public function get inAppDescriptor():Boolean
isDynamic:Boolean
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
A Boolean value indicating whether the extension is a 'dynamically loaded' ANE or not.
A 'dynamic' ANE is one that is loaded on demand: this may be one from the Application Descriptor
that has the delayLoad
attribute set to true, or it may be one that has been loaded
in at runtime using ExtensionContent.loadExtension
where the path to the ANE folder is
provided. This value is false
iff the extension was listed in the Application Descriptor
without the delayLoad
attribute being set to true.
Implementation
public function get isDynamic():Boolean
isLoaded:Boolean
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
A Boolean value indicating whether the extension has been loaded or not. Extensions that are
listed in the Application Descriptor file using the attribute delayLoad="true"
will
be registered but not loaded; this flag will stay false
until the ExtensionContext.loadExtension
method has been called for them.
Implementation
public function get isLoaded():Boolean
name:String
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
The extension name, as provided in the extension's XML descriptor file. This may be null
if no name was given.
Implementation
public function get name():String
versionNumber:String
[read-only]
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
The extension version number, as provided in the extension's XML descriptor file.
Implementation
public function get versionNumber():String
public function load():Boolean
Language version: | ActionScript 3.0
|
Runtime version: | AIR 50.0
|
A utility method to load in the native library for a dynamic extension.
This is the equivalent of calling ExtensionContent.loadExtension
with this object's
extensionID
property.
Returns
| Boolean —
true if the extension was loaded successfully (or was already loaded)
|
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Wed Oct 12 2022, 12:45 PM GMT+01:00