IConnectionListener

Connection callbacks interface. Use it to manage a connection.

Functions

Link copied to clipboard
abstract fun onConnectionFailed(reason: String)

Triggered when connection failed.

Link copied to clipboard
abstract fun onConnectionSuccess()

Triggered when connection is successful.

Link copied to clipboard
abstract fun onDisconnect()

Triggered on disconnect event.