Updated on 2024-07-30 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 Y (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 HwndInfo Video window handle list.
hwndListLength number Number of window handles in the list.