Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ UI Configuration Management Objects/ Customizing the Meeting Window Icon on the Taskbar
Updated on 2024-12-27 GMT+08:00

Customizing the Meeting Window Icon on the Taskbar

Function

This API is used to set the meeting window icon on the taskbar (valid only for the macOS platform). On the Windows platform, you can replace the video.ico file in HwmSdk\sdkResources\nativeimg.

Function Prototype

setMeetingWindowIcon(windowIconInfo: WindowIconInfo, onSetMeetingWindowIconResult?: (ret: SDKERR, reason: string) => void): voidsetMeetingWindowIcon(windowIconInfo: WindowIconInfo, onSetMeetingWindowIconResult?: (ret: SDKERR, reason: string) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
windowIconInfo Yes WindowIconInfo Window icon information.
onSetMeetingWindowIconResult Yes (ret: SDKERR, reason: string) => void Callback of configuring the meeting window icon.
Table 2 WindowIconInfo
Parameter Mandatory Type Description
iconPath Yes string Icon path.

Return Values

void

Callback Method Parameters

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

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