Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ UISDK API Management Objects/ Subscribing to Disconnection Notifications
Updated on 2023-03-23 GMT+08:00

Subscribing to Disconnection Notifications

Function

A notification is sent when the SDK is disconnected.

Function Prototype

setOnSdkDisconnectedNotifyCB(onSdkDisconnectedNotify: () => void): voidsetOnSdkDisconnectedNotifyCB(onSdkDisconnectedNotify: () => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onSdkDisconnectedNotify Y () => void Notification sent when the SDK is disconnected.

Return Values

void