• BlackBerry Dynamics
  • Runtime library for Android applications
  • 9.2.0.99
ApplicationState Class Reference

This class represents a number of aspects of the BlackBerry Dynamics run-time state.

Classes

enum  ActivationParameter
 BlackBerry Dynamics run-time activation configuration parameter. More...
 
enum  ActivationState
 BlackBerry Dynamics run-time activation state. More...
 

Public Member Functions

ActivationState getActivationState (Context aContext)
 Query the current activated state of the container. More...
 
List< String > getActivationProcessingDescriptions ()
 Query list of all the activation state descriptions. More...
 

Static Public Member Functions

static final ActivationState getActivationState (Intent intent)
 Get Activation State from Activation notification. More...
 
static final String getActivationStateDescription (Intent intent)
 Get Activation State Description from Activation notification. More...
 
static final GDAppResultCode getActivationError (Intent intent)
 Get Activation Error from Activation notification. More...
 
static final int getActivationStateIndex (Intent intent)
 Get Activation State Index from Activation notification. More...
 

Static Public Attributes

static final String BBDActivationStateKey = "BBDActivationStateKey"
 Intent Extra key which contain current Activation State. More...
 
static final String BBDActivationProcessingIndexKey = "BBDActivationProcessingIndexKey"
 Intent Extra key which contain index of current activation description, this is index valid in the list returned by getActivationProcessingDescriptions. More...
 
static final String BBDActivationErrorKey = "BBDActivationErrorKey"
 Intent Extra key which contains Activation Error if Activation has failed. More...
 
static final String BBDActivationDescriptionKey = "BBDActivationDescriptionKey"
 Intent Extra key which contains current Activation State description string. More...
 

Member Function Documentation

◆ getActivationState() [1/2]

static final ActivationState getActivationState ( Intent  intent)
static
Parameters
intentIntent that was sent by local broadcast for an Activation notification.
Returns
ActivationState value for the current Activation state

◆ getActivationStateDescription()

static final String getActivationStateDescription ( Intent  intent)
static
Parameters
intentIntent that was sent by local broadcast for an Activation notification.
Returns
String value for the description of current activation state

◆ getActivationError()

static final GDAppResultCode getActivationError ( Intent  intent)
static
Parameters
intentIntent that was sent by local broadcast for an Activation notification.
Returns
GDAppResultCode value for the Activation Error which may have occured

◆ getActivationStateIndex()

static final int getActivationStateIndex ( Intent  intent)
static
Parameters
intentIntent that was sent by local broadcast for a Activation notification
Returns
Int value for the Activation Error which may have occured

◆ getActivationState() [2/2]

ActivationState getActivationState ( Context  aContext)
Parameters
aContextAndroid Context object for the application.
Returns
ActivationState enum object

◆ getActivationProcessingDescriptions()

List<String> getActivationProcessingDescriptions ( )
Returns
List of Activation State descriptions which are localized

Member Data Documentation

◆ BBDActivationStateKey

final String BBDActivationStateKey = "BBDActivationStateKey"
static

Extra maybe present for Intents of action GD_STATE_ACTIVATION_ACTION

◆ BBDActivationProcessingIndexKey

final String BBDActivationProcessingIndexKey = "BBDActivationProcessingIndexKey"
static

Extra maybe present for Intents of action GD_STATE_ACTIVATION_ACTION

◆ BBDActivationErrorKey

final String BBDActivationErrorKey = "BBDActivationErrorKey"
static

This error would be of type GDAppResultCode

Extra maybe present for Intents of action GD_STATE_ACTIVATION_ACTION

◆ BBDActivationDescriptionKey

final String BBDActivationDescriptionKey = "BBDActivationDescriptionKey"
static

Extra maybe present for Intents of action GD_STATE_ACTIVATION_ACTION