Updated on 2025-08-14 GMT+08:00

Subscribing to Window Handle Notifications

Function

A notification is sent when the window handle information changes.

Function Prototype

setOnRenderWindowInfoListChangedCB(onRenderWindowInfoListChanged: (hwndInfo: HwndListInfo) => void): voidsetOnRenderWindowInfoListChangedCB(onRenderWindowInfoListChanged: (hwndInfo: HwndListInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onRenderWindowInfoListChanged Yes (hwndInfo: HwndListInfo) => void Notification sent when the window handle information changes.

Return Values

void

Notification Method Parameters

(hwndInfo: HwndListInfo) => void

Table 2 Input parameter description
Parameter Type Description
hwndInfo HwndListInfo Window handle information.
Table 3 HwndListInfo
Parameter Type Description
hwndInfoList Array<HwndInfo> Video window handle list.