ConnectionEventsCallback
DESCRIPTION
This abstract class allows implementations to receive notification from the SDK on connection events.
Applications registers for notifications using Connection.addConnectionEventsListener().
The following events can be emitted:
CONNECTED: a connection is establishedCLOSED: a connection is closedCHANNEL_CHANGED: the underlying channel has changed, e.g. from relay to p2pWAITING_FOR_ATTACH: emitted when connecting with theIgnoreDeviceNotAttachedoption set and the device is not currently attached; the client will keep waiting for the device to attach and then complete the connection.
DECLARATION
public abstract class ConnectionEventsCallback