• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79
GDConnectivityManager Class Reference

BlackBerry Dynamics infrastructure connection management. More...

Description

Use this class to control the connection from the application to the BlackBerry Dynamics infrastructure.

See also
GDNetworkInfo class reference.

Static Public Member Functions

static boolean forceResetAllConnections () throws GDNotAuthorizedError
 Reset the BlackBerry Dynamics infrastructure connection. More...
 
static GDNetworkInfo getActiveNetworkInfo ()
 Current status of the BlackBerry Dynamics infrastructure connection. More...
 

Static Public Attributes

static final String GD_CONNECTIVITY_ACTION = "com.good.gd.CONNECTIVITY_CHANGE"
 Intent Filter key for changes to BlackBerry Dynamics infrastructure connection status. More...
 

Member Function Documentation

◆ forceResetAllConnections()

static boolean forceResetAllConnections ( ) throws GDNotAuthorizedError
static

Call this method to request reset of all the application's connections to the BlackBerry Dynamics infrastructure. The BlackBerry Dynamics runtime generally connects and reconnects to the infrastructure as needed and so there should be no need to call this method in normal operation.

Returns
true if the reset request was accepted and put in progress.
false otherwise.

◆ getActiveNetworkInfo()

static GDNetworkInfo getActiveNetworkInfo ( )
static
Returns
GDNetworkInfo reference that represents the current status of the connection to the BlackBerry Dynamics infrastructure.

Member Data Documentation

◆ GD_CONNECTIVITY_ACTION

final String GD_CONNECTIVITY_ACTION = "com.good.gd.CONNECTIVITY_CHANGE"
static

Use this value as the Intent Filter key to register a broadcast receiver that will be notified when there is a change to the BlackBerry Dynamics infrastructure connection status, or to the availability of the Push Channel service.

See also
GDNetworkInfo class reference.
GDAndroid registerReceiver reference documentation.