ConnectionState

A connection state indicates the state of the underlying connection of the SyncSession.

Entries

Link copied to clipboard

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.

Link copied to clipboard

Indicates that a connection is currently in progress of being established. If successful the next state is CONNECTED, otherwise it will be DISCONNECTED.

Link copied to clipboard

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

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.