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

Subscribing to Disconnection Notifications

Function

A notification is sent when the SDK is disconnected. (This API is valid only for the Windows platform.)

Function Prototype

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

Request Parameters

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

Return Values

void