• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79
GDAppEventType Enum Reference

Constants for GDAppEvent type. More...

Description

This enumeration represents the type of a GDAppEvent that is being notified. The GDAppEvent.getEventType() method will always return one of these values.

Public Attributes

 GDAppEventAuthorized
 Either the user has been authorized to access the application and its data, following authorization processing, or a condition that caused authorization to be withdrawn has been cleared. More...
 
 GDAppEventNotAuthorized
 Either the user hasn't been authorized to access the application and its data, following authorization processing, or a condition has arisen that caused authorization to be withdrawn. More...
 
 GDAppEventRemoteSettingsUpdate
 A change to application configuration or other settings from the enterprise has been received. An event of this type is dispatched whenever there is a change in any value that is returned by GDAndroid.getApplicationConfig.
 
 GDAppEventServicesUpdate
 A change to services-related configuration of one or more applications has been received. See under GDAndroid.getServiceProvidersFor.
 
 GDAppEventPolicyUpdate
 A change to one or more application-specific policy settings has been received. See under GDAndroid.getApplicationPolicy.
 
 GDAppEventEntitlementsUpdate
 A change to the entitlements data of the end user has been received. If the entitlements of the end user had previously been checked, by calling the GDAndroid.getEntitlementVersions method, then the entitlements should be checked again now.
 
 GDAppEventBackgroundAuthorized
 The application has been authorized to access its data as a result of the system starting the application process from cold in the background, following background authorization processing. More...
 
 GDAppEventBackgroundNotAuthorized
 The application hasn't been authorized to access its data, following background authorization processing, or a condition has arisen that caused background authorization to be withdrawn. More...
 

Member Data Documentation

◆ GDAppEventAuthorized

GDAppEventAuthorized

The user can be given access to the application data, and the application can make full use of the BlackBerry Dynamics programming interface.

The event result code will be GDErrorNone.

See GDAndroid.authorize for authorization processing initiation.

◆ GDAppEventNotAuthorized

GDAppEventNotAuthorized

The application must deny the user access to any application data. This includes not displaying any data in the application user interface.

In the case that the user is found not to be authorized following authorization processing, the application cannot make use of the BlackBerry Dynamics programming interface, except to initiate authorization processing again. Otherwise, if authorization has only been withdrawn, the application can make use of the BlackBerry Dynamics programming interface.

The event result code will indicate the condition that has arisen. See GDAppResultCode.

See GDAndroid.authorize for authorization processing initiation.

◆ GDAppEventBackgroundAuthorized

GDAppEventBackgroundAuthorized

The application can make full use of the BlackBerry Dynamics programming interface.

The event result code will be GDErrorNone.

See GDAndroid.authorize for authorization processing initiation.

◆ GDAppEventBackgroundNotAuthorized

GDAppEventBackgroundNotAuthorized

The application must deny the user access to any application data.

The event result code will indicate the condition that has arisen. See GDAppResultCode.

See GDAndroid.authorize for authorization processing initiation.