v1

latestOpenAPI 3.0.02026-07-17331930.1 KB

Waits for a window content update event to occur.

If a package name for the window is specified, but the current window does not have the same package name, the function returns immediately.

get/uiDevice/waitForWindowUpdate

Query parameters

packageNamestring

the specified window package name (can be null or not present). If null, a window update from any front-end window will end the wait

timeoutinteger required

in milliseconds

Response

OK

status'OK' | 'ERROR' | 'UNKNOWKN' required
statusCodeinteger
errorMessagestring

Example response

{
  "status": "ERROR",
  "statusCode": 100,
  "errorMessage": "Operation could not be completed"
}