ConnectionEventHandler class

Represents a class to notify various connection event.

This is base class that you can mixin, so that you can register on SendbirdSdk.addConnectionEventHandler. Typically you want to use this class as following:

class MyHandler with ConnectionEventHandler {
  @override
  void onReconnectionStarted() {
     //user logic here when reconnection is started
  }
  ...
}
Implemented types

Constructors

ConnectionEventHandler()

Properties

hashCode int
The hash code for this object.
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
onReconnectionCanceled() → void
Informs when connection has been canceled
onReconnectionFailed() → void
Informs when connection has been failed to reconnect
onReconnectionStarted() → void
Informs when connection started
onReconnectionSucceeded() → void
Informs when connection has been maded successfully
toString() String
A string representation of this object.
inherited

Operators

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