Creates a subwindow. This API uses a promise to return the result.
Creates a subwindow. This API uses a promise to return the result.
> **NOTE**
> **NOTE**
>
>
> This API is supported since API version 7 and deprecated since API version 9. You are advised to use [createWindow()](#windowcreatewindow9-1) instead.
> This API is supported since API version 7 and deprecated since API version 9. You are advised to use [createWindow()](#windowcreatewindow9-1) instead.
**Model restriction**: This API can be used only in the FA model.
**Model restriction**: This API can be used only in the FA model.
Creates a system window. This API uses a promise to return the result.
Creates a system window. This API uses a promise to return the result.
> **NOTE**
> **NOTE**
>
>
> This API is supported since API version 7 and deprecated since API version 9. You are advised to use [createWindow()](#windowcreatewindow9-1) instead.
> This API is supported since API version 7 and deprecated since API version 9. You are advised to use [createWindow()](#windowcreatewindow9-1) instead.
Obtains the top window of the current application. This API uses an asynchronous callback to return the result.
Obtains the top window of the current application. This API uses an asynchronous callback to return the result.
> **NOTE**
> **NOTE**
>
>
> This API is supported since API version 6 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9) instead.
> This API is supported since API version 6 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9) instead.
**Model restriction**: This API can be used only in the FA model.
**Model restriction**: This API can be used only in the FA model.
Obtains the top window of the current application. This API uses a promise to return the result.
Obtains the top window of the current application. This API uses a promise to return the result.
> **NOTE**
> **NOTE**
>
>
> This API is supported since API version 6 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9-1) instead.
> This API is supported since API version 6 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9-1) instead.
**Model restriction**: This API can be used only in the FA model.
**Model restriction**: This API can be used only in the FA model.
Obtains the top window of the current application. This API uses an asynchronous callback to return the result.
Obtains the top window of the current application. This API uses an asynchronous callback to return the result.
> **NOTE**
> **NOTE**
>
>
> This API is supported since API version 8 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9) instead.
> This API is supported since API version 8 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9) instead.
Obtains the top window of the current application. This API uses a promise to return the result.
Obtains the top window of the current application. This API uses a promise to return the result.
> **NOTE**
> **NOTE**
>
>
> This API is supported since API version 8 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9-1) instead.
> This API is supported since API version 8 and deprecated since API version 9. You are advised to use [getLastWindow()](#windowgetlastwindow9-1) instead.