connectionLost property

EmptyCallback? connectionLost
getter/setter pair

Occurs when the SDK cannot reconnect to anyrtc's edge server 10 seconds after its connection to the server is interrupted.

The SDK triggers this callback when it cannot connect to the server 10 seconds after calling RtcEngine.joinChannel, regardless of whether it is in the channel or not. If the SDK fails to rejoin the channel 20 minutes after being disconnected from anyrtc's edge server, the SDK stops rejoining the channel.

The EmptyCallback typedef does not include any parameter.

Implementation

EmptyCallback? connectionLost;