mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 23:30:15 +00:00
commit
f17ce10d9c
13
api/@ohos.window.d.ts
vendored
13
api/@ohos.window.d.ts
vendored
@ -2940,6 +2940,8 @@ declare namespace window {
|
|||||||
* @param { 'waterMarkFlagChange' } type the event of watermark flag change.
|
* @param { 'waterMarkFlagChange' } type the event of watermark flag change.
|
||||||
* @param { Callback<boolean> } callback Callback used to return the result whether watermark flag change or not.
|
* @param { Callback<boolean> } callback Callback used to return the result whether watermark flag change or not.
|
||||||
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
||||||
|
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types. 3.Parameter verification failed.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
* @syscap SystemCapability.WindowManager.WindowManager.Core
|
* @syscap SystemCapability.WindowManager.WindowManager.Core
|
||||||
* @systemapi Hide this for inner system use.
|
* @systemapi Hide this for inner system use.
|
||||||
@ -2953,6 +2955,8 @@ declare namespace window {
|
|||||||
* @param { 'waterMarkFlagChange' } type the event of watermark flag change.
|
* @param { 'waterMarkFlagChange' } type the event of watermark flag change.
|
||||||
* @param { Callback<boolean> } callback Callback used to return the result whether watermark flag change or not.
|
* @param { Callback<boolean> } callback Callback used to return the result whether watermark flag change or not.
|
||||||
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
||||||
|
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1. Incorrect parameter types;
|
||||||
|
* <br>2. Parameter verification failed.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
* @syscap SystemCapability.WindowManager.WindowManager.Core
|
* @syscap SystemCapability.WindowManager.WindowManager.Core
|
||||||
* @systemapi Hide this for inner system use.
|
* @systemapi Hide this for inner system use.
|
||||||
@ -7067,6 +7071,8 @@ declare namespace window {
|
|||||||
*
|
*
|
||||||
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false.
|
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false.
|
||||||
* @param { AsyncCallback<void> } callback - The callback of setWaterMarkFlag.
|
* @param { AsyncCallback<void> } callback - The callback of setWaterMarkFlag.
|
||||||
|
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
||||||
@ -7080,6 +7086,8 @@ declare namespace window {
|
|||||||
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false.
|
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false.
|
||||||
* @param { AsyncCallback<void> } callback - The callback of setWaterMarkFlag.
|
* @param { AsyncCallback<void> } callback - The callback of setWaterMarkFlag.
|
||||||
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
||||||
|
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
||||||
@ -7094,6 +7102,8 @@ declare namespace window {
|
|||||||
*
|
*
|
||||||
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false
|
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false
|
||||||
* @returns { Promise<void> } - The promise returned by the function
|
* @returns { Promise<void> } - The promise returned by the function
|
||||||
|
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
||||||
@ -7107,6 +7117,8 @@ declare namespace window {
|
|||||||
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false
|
* @param { boolean } enable - Add water mark flag to window if true, or remove flag if false
|
||||||
* @returns { Promise<void> } - The promise returned by the function
|
* @returns { Promise<void> } - The promise returned by the function
|
||||||
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
|
||||||
|
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.
|
||||||
|
* <br>2. Incorrect parameter types.
|
||||||
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
* @throws { BusinessError } 1300008 - The display device is abnormal.
|
||||||
@ -7729,6 +7741,7 @@ declare namespace window {
|
|||||||
* @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.
|
* @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.
|
||||||
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
* @throws { BusinessError } 1300002 - This window state is abnormal.
|
||||||
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
* @throws { BusinessError } 1300003 - This window manager service works abnormally.
|
||||||
|
* @throws { BusinessError } 1300004 - Unauthorized operation.
|
||||||
* @syscap SystemCapability.Window.SessionManager
|
* @syscap SystemCapability.Window.SessionManager
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 12
|
* @since 12
|
||||||
|
Loading…
Reference in New Issue
Block a user