Packagecom.myflashlab.air.extensions.adobeMobile
Classpublic class ADBMobile
InheritanceADBMobile Inheritance Object

This is the entry point for using AdobeMobile SDK in your app.



Public Properties
 PropertyDefined By
  analytics : Analytics
[static] [read-only] Gives you access to the Analytics api.
ADBMobile
  config : Config
[static] [read-only] Gives you access to the Config api.
ADBMobile
  isInitialized : Boolean
[static] [read-only]
ADBMobile
  media : Media
[static] [read-only] Gives you access to the Media api.
ADBMobile
  sdk_version : String
[static] [read-only] Indicates the version string of ADBMobile SDK.
ADBMobile
Public Methods
 MethodDefined By
  
collectLifecycleData($contextData:ContextData = null):void
[static] Begins the collection of lifecycle data.
ADBMobile
  
init($configFile:File):ADBMobile
[static] Call this method to initialize ADBMobile SDK in your app.
ADBMobile
  
[static] Required on Android side when app goes to background, on iOS side, this happens automatically.
ADBMobile
Public Constants
 ConstantDefined By
  EXTENSION_ID : String = com.myflashlab.air.extensions.ADBMobile
[static]
ADBMobile
  VERSION : String = 4.18.0
[static]
ADBMobile
Property Detail
analyticsproperty
analytics:Analytics  [read-only]

Gives you access to the Analytics api.


Implementation
    public static function get analytics():Analytics
configproperty 
config:Config  [read-only]

Gives you access to the Config api.


Implementation
    public static function get config():Config
isInitializedproperty 
isInitialized:Boolean  [read-only]


Implementation
    public static function get isInitialized():Boolean
mediaproperty 
media:Media  [read-only]

Gives you access to the Media api.


Implementation
    public static function get media():Media
sdk_versionproperty 
sdk_version:String  [read-only]

Indicates the version string of ADBMobile SDK.


Implementation
    public static function get sdk_version():String
Method Detail
collectLifecycleData()method
public static function collectLifecycleData($contextData:ContextData = null):void

Begins the collection of lifecycle data. This should be the first method called upon app launch.

Parameters

$contextData:ContextData (default = null) — ContextData to be added to the lifecycle hit.

init()method 
public static function init($configFile:File):ADBMobile

Call this method to initialize ADBMobile SDK in your app.

Parameters

$configFile:File — The config file 'ADBMobileConfig.json' you have downloaded from your AdobeMobile panel. This file must be placed inside 'File.applicationStorageDirectory' so the ANE can access it.

Returns
ADBMobile
pauseCollectingLifecycleData()method 
public static function pauseCollectingLifecycleData():void

Required on Android side when app goes to background, on iOS side, this happens automatically. but on Android side, you must call this whenever your app goes to background. If you forget to call this method on Android, Analytics will show crash reports wrongly! Calling this method on iOS has not effect.

Constant Detail
EXTENSION_IDConstant
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.ADBMobile

VERSIONConstant 
public static const VERSION:String = 4.18.0