ConnectionEventHandler class Null safety
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
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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