Updated on 2024-07-30 GMT+08:00

Ending a Meeting

Function

This API is used to end a meeting. 1. Call this API only when you are in a meeting. 2. Calling this API will end the meeting. No one can join the meeting again.

Function Prototype

endConf(onEndConfResult?: (ret: SDKERR, reason: string) => void): voidendConf(onEndConfResult?: (ret: SDKERR, reason: string) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onEndConfResult Yes (ret: SDKERR, reason: string) => void Callback of ending a meeting.

Return Values

void

Callback Method Parameters

(ret: SDKERR, reason: string) => void

Table 2 Input parameter description
Parameter Type Description
ret For details about SDKERR, see Error Code Reference. Error code.
reason string Error description.