ConnectionState
A connection state indicates the state of the underlying connection of the SyncSession.
Entries
Indicates that there is no connection to the server. No data is being transferred even if the session is SyncSession.State.ACTIVE. If the connection entered this state due to an error, the error is reported in the SyncConfiguration.errorHandler.
Indicates that a connection is currently in progress of being established. If successful the next state is CONNECTED, otherwise it will be DISCONNECTED.
Indicates that a connection is successfully established to the server. If the SyncSession is SyncSession.State.ACTIVE then data will now be transferred between the device and the server.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.