RealtimeConnectionState enum

Connection states for a BloomRealtimeChannelClient.

Tracks the socket lifecycle from initial connection through unexpected disconnects and reconnects.

Inheritance
Available extensions

Values

disconnected → const RealtimeConnectionState

Socket is disconnected and inactive.

connecting → const RealtimeConnectionState

Socket is currently establishing a connection.

connected → const RealtimeConnectionState

Socket is active, authenticated, and ready to send/receive messages.

reconnecting → const RealtimeConnectionState

Connection was lost unexpectedly and the client is attempting automatic reconnection.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<RealtimeConnectionState>
A constant List of the values in this enum, in order of their declaration.