Package | com.myflashlab.air.extensions.adobeMobile |
Class | public class ADBMobile |
Inheritance | ADBMobile Object |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
collectLifecycleData($contextData:ContextData = null):void [static]
Begins the collection of lifecycle data. | ADBMobile | ||
[static]
Call this method to initialize ADBMobile SDK in your app. | ADBMobile | ||
pauseCollectingLifecycleData():void [static]
Required on Android side when app goes to background, on iOS side, this happens automatically. | ADBMobile |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.ADBMobile [static] | ADBMobile | ||
VERSION : String = 4.18.0 [static] | ADBMobile |
analytics | property |
analytics:Analytics
[read-only]
Gives you access to the Analytics
api.
public static function get analytics():Analytics
config | property |
config:Config
[read-only]
Gives you access to the Config
api.
public static function get config():Config
isInitialized | property |
isInitialized:Boolean
[read-only] public static function get isInitialized():Boolean
media | property |
media:Media
[read-only]
Gives you access to the Media
api.
public static function get media():Media
sdk_version | property |
sdk_version:String
[read-only] Indicates the version string of ADBMobile SDK.
public static function get sdk_version():String
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.
|
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.
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.ADBMobile
VERSION | Constant |
public static const VERSION:String = 4.18.0