public class BGAgentStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
appName
The name of the application or process which is running sync agent.
|
int |
batteryPower
Remaining battery life in %, if relevant.
|
java.lang.String |
clientId
Sync user name.
|
static int |
DEFUNCT |
java.lang.String |
networkName
Name of the network currently used for sync, evaluated by sync agent.
|
int |
networkSpeed
Network bandwidth, in bits per second.
|
static int |
PAUSE_PENDING
Sync agent is in the process of being paused.
|
static int |
PAUSED
Sync agent is paused.
|
int |
processId
Process id of the process which is running sync agent, if relevant
for a given platform.
|
static int |
RESUME_PENDING
Sync agent is in the process of resuming.
|
static int |
RUNNING
Sync agent is running.
|
static int |
START_PENDING
Sync agent is in the process of starting.
|
int |
statusCode
Status code represented by one of the constants above.
|
static int |
STOP_PENDING |
static int |
STOPPED
Sync agent application is not running.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
statusName(int statusCode)
Get language-specific name of a given status code
|
public final java.lang.String appName
public final int batteryPower
public final java.lang.String clientId
public static final int DEFUNCT
public final java.lang.String networkName
public final int networkSpeed
public static final int PAUSE_PENDING
public static final int PAUSED
public final int processId
public static final int RESUME_PENDING
public static final int RUNNING
public static final int START_PENDING
public final int statusCode
public static final int STOP_PENDING
public static final int STOPPED