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 established
  • CLOSED: a connection is closed
  • CHANNEL_CHANGED: the underlying channel has changed, e.g. from relay to p2p

DECLARATION

public abstract class ConnectionEventsCallback