Listen to Connection Status
Set Status Listener
When the connection status between the SDK and RC servers changes, developers can handle it using the following method.
Method
Function(RCIMIWConnectionStatus? status)? onConnectionStatusChanged;
Parameter Description
Parameter Name | Parameter Type | Description |
---|---|---|
status | RCIMIWConnectionStatus | The connection status between the SDK and RC servers |
Code Example
engine?.onConnectionStatusChanged = (RCIMIWConnectionStatus? status) {
//...
};