PusherChannelsClientLifeCycleState enum

Represents a state of a lifecycle of PusherChannelsClientLifeCycleController's instances.

Inheritance

Constructors

PusherChannelsClientLifeCycleState()
const

Values

connectionError → const PusherChannelsClientLifeCycleState

Indicates that an error was thrown during a connection.

disconnected → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController is disconnected.

disposed → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController is disposed and can't be reused.

gotPusherError → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController has received an event with name pusher:error

establishedConnection → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController has managed to successfully establish connection receiving an event with name pusher:connection_established.

Also the controller may set an activity duration accordingly with the received event's properties.

See docs: Recommendations for client libraries

pendingConnection → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController is trying to establish connection.

reconnecting → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController is reconnecting.

inactive → const PusherChannelsClientLifeCycleState

Indicates that an instance of PusherChannelsClientLifeCycleController is inactive and has not started the connection lifecycle yet.

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<PusherChannelsClientLifeCycleState>
A constant List of the values in this enum, in order of their declaration.