Package ai.nexconn.chat.handler
Interface ConnectionStatusHandler
-
- All Implemented Interfaces:
public interface ConnectionStatusHandlerConnection status change handler.
Notifies the caller when the SDK-server connection status changes (e.g. connected, connecting, disconnected, suspended, kicked offline, token incorrect, etc.).
Register via NCEngine.addConnectionStatusHandler.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonConnectionStatusChanged(ConnectionStatusChangedEvent event)Called when the connection status changes. -
-
Method Detail
-
onConnectionStatusChanged
abstract Unit onConnectionStatusChanged(ConnectionStatusChangedEvent event)
Called when the connection status changes.
- Parameters:
event- Connection status changed event
-
-
-
-