SyncState enum

Current state of the SyncClient.

Inheritance
Available extensions

Values

unknown → const SyncState

State is unknown, e.g. C-API reported a state that's not recognized yet.

created → const SyncState

Client created but not yet started.

started → const SyncState

Client started and connecting.

connected → const SyncState

Connection with the server established but not authenticated yet.

loggedIn → const SyncState

Client authenticated and synchronizing.

disconnected → const SyncState

Lost connection, will try to reconnect if the credentials are valid.

stopped → const SyncState

Client in the process of being closed.

dead → const SyncState

Invalid access to the client after it was closed.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SyncState>
A constant List of the values in this enum, in order of their declaration.