public class BGSyncStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
short |
applyProgress
Current progress of the apply task.
|
short |
applyState
Current state of the apply task.
|
java.lang.String |
applyStateStr
String describing the current state of the apply task.
|
int |
batteryPower
Current power level.
|
java.lang.String |
clientId
Client ID (User Name) for which automatic sync is currently running.
|
static int |
FINISHED
Identifier for status "FINISHED".
|
static int |
IDLE
Identifier for status "IDLE".
|
short |
lastApplyError
Error of the last apply task or 0 if there were no apply tasks
or last apply task was successful.
|
java.lang.String |
lastApplyErrorMsg
Error message of the last apply task. null if there were no
apply tasks, "no error" if the last sync task was successful.
|
java.util.Date |
lastApplyTime
Date and time of the last apply task or null if there were
no apply tasks.
|
short |
lastSyncError
Error of the last sync task or 0 if there were no sync tasks
or last sync task was successful.
|
java.lang.String |
lastSyncErrorMsg
Error message of the last sync task. null if there were no
sync tasks, "no error" if the last sync task was successful.
|
java.util.Date |
lastSyncTime
Date and time of the last sync task or null if there were no sync tasks.
|
short |
lastSyncType
Type of the last sync task (if any).
|
java.lang.String |
networkName
Name of the current network.
|
int |
networkSpeed
Current network bandwidth in bits per second.
|
static int |
PREPARE_FINISH
Identifier for status "PREPARE_FINISH".
|
static int |
PREPARE_START
Identifier for status "PREPARE_START".
|
static int |
PREPARING
Identifier for status "PREPARING".
|
static int |
PROCESS_FINISH
Identifier for status "PROCESS_FINISH".
|
static int |
PROCESS_START
Identifier for status "PROCESS_START".
|
static int |
PROCESSING
Identifier for status "PROCESSING".
|
static int |
RECEIVE_START
Identifier for status "RECEIVE_START".
|
static int |
RECEIVING
Identifier for status "RECEIVING".
|
static int |
RESUMING
Identifier for status "RESUMING".
|
static int |
SEND_FINISH
Identifier for status "SEND_FINISH".
|
static int |
SEND_START
Identifier for status "SEND_START".
|
static int |
SENDING
Identifier for status "SENDING".
|
short |
syncProgress
Current progress of the sync task.
|
short |
syncState
Current state of the sync task.
|
java.lang.String |
syncStateStr
String describing the current state of the sync task.
|
static int |
WAIT_COND
Identifier for status "WAIT_COND".
|
static int |
WAIT_TASK
Identifier for status "WAIT_TASK".
|
Constructor and Description |
---|
BGSyncStatus() |
public short applyProgress
public short applyState
public java.lang.String applyStateStr
public int batteryPower
public java.lang.String clientId
public static final int FINISHED
public static final int IDLE
public short lastApplyError
public java.lang.String lastApplyErrorMsg
public java.util.Date lastApplyTime
public short lastSyncError
public java.lang.String lastSyncErrorMsg
public java.util.Date lastSyncTime
public short lastSyncType
public java.lang.String networkName
public int networkSpeed
public static final int PREPARE_FINISH
public static final int PREPARE_START
public static final int PREPARING
public static final int PROCESS_FINISH
public static final int PROCESS_START
public static final int PROCESSING
public static final int RECEIVE_START
public static final int RECEIVING
public static final int RESUMING
public static final int SEND_FINISH
public static final int SEND_START
public static final int SENDING
public short syncProgress
public short syncState
public java.lang.String syncStateStr
public static final int WAIT_COND
public static final int WAIT_TASK