mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!10994 exchange 401 fail code
Merge pull request !10994 from 任欣瑶/pr_10934
This commit is contained in:
commit
45e7c68ea8
@ -59,7 +59,8 @@ declare namespace infraredEmitter {
|
||||
* @param { Array<number>} pattern - Pattern of signal transmission in alternate on/off mode, in microseconds.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - Not system application.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InfraredEmitter
|
||||
* @systemapi hide for inner use
|
||||
* @since 12
|
||||
|
12
api/@ohos.multimodalInput.inputConsumer.d.ts
vendored
12
api/@ohos.multimodalInput.inputConsumer.d.ts
vendored
@ -104,7 +104,8 @@ declare namespace inputConsumer {
|
||||
* @param { 'key' } type - type of the inputevent about input which is to be subscribed.
|
||||
* @param { KeyOptions } keyOptions - the key events about input which is to be subscribed.
|
||||
* @param { Callback<KeyOptions> } callback - callback function, receive reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
|
||||
* @systemapi hide for inner use
|
||||
* @since 8
|
||||
@ -117,7 +118,8 @@ declare namespace inputConsumer {
|
||||
* @param { 'key' } type - type of the inputevent about input which is to be subscribed.
|
||||
* @param { KeyOptions } keyOptions - the key events about input which is to be subscribed.
|
||||
* @param { Callback<KeyOptions> } callback - callback function, receive reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
|
||||
* @systemapi hide for inner use
|
||||
* @since 8
|
||||
@ -133,7 +135,8 @@ declare namespace inputConsumer {
|
||||
* all key events directly dispatch to window, if the value <b>false</b> indicates not shield shortcut key.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 11
|
||||
@ -148,7 +151,8 @@ declare namespace inputConsumer {
|
||||
* @returns { boolean } Returns true if shield event interception, returns false otherwise.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputConsumer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 11
|
||||
|
60
api/@ohos.multimodalInput.inputDevice.d.ts
vendored
60
api/@ohos.multimodalInput.inputDevice.d.ts
vendored
@ -149,7 +149,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { 'change' } type - Type of the input device event, which is **change**.
|
||||
* @param { Callback<DeviceListener> } listener - Callback for the input device event.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -160,7 +161,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { 'change' } type - Type of the input device event, which is **change**.
|
||||
* @param { Callback<DeviceListener> } listener - Callback for the input device event.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -391,7 +393,8 @@ declare namespace inputDevice {
|
||||
* Obtains the IDs of all input devices.
|
||||
*
|
||||
* @param { AsyncCallback<Array<number>> } callback - Callback function, receive reported data
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -411,7 +414,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { number } deviceId - ID of the input device whose information is to be obtained.
|
||||
* @param { AsyncCallback<InputDeviceData> } callback - Callback function, receive reported data
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -422,7 +426,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { number } deviceId - ID of the input device whose information is to be obtained.
|
||||
* @returns { Promise<InputDeviceData> }
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -433,7 +438,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { number } deviceId - ID of the input device whose information is to be obtained.
|
||||
* @returns { InputDeviceData }
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 10
|
||||
*/
|
||||
@ -445,7 +451,8 @@ declare namespace inputDevice {
|
||||
* @param { number } deviceId - ID of the input device.
|
||||
* @param { Array<KeyCode> } keys - Key codes of the input device, You can query maximum of five key codes at a time.
|
||||
* @param { AsyncCallback<Array<boolean>> } callback -Indicates whether the specified key codes are supported.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -457,7 +464,8 @@ declare namespace inputDevice {
|
||||
* @param { number } deviceId - ID of the input device.
|
||||
* @param { Array<KeyCode> } keys - Key codes of the input device, You can query maximum of five key codes at a time.
|
||||
* @returns { Promise<Array<boolean>> } Returns a result indicating whether the specified key codes are supported.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -469,7 +477,8 @@ declare namespace inputDevice {
|
||||
* @param { number } deviceId - ID of the input device.
|
||||
* @param { Array<KeyCode> } keys - Key codes of the input device, You can query maximum of five key codes at a time.
|
||||
* @returns { Array<boolean> } Returns a result indicating whether the specified key codes are supported.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 10
|
||||
*/
|
||||
@ -480,7 +489,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { number } deviceId - ID of the specified input device.
|
||||
* @param { AsyncCallback<KeyboardType> } callback - Returns the keyboard type.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -491,7 +501,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { number } deviceId - ID of the specified input device.
|
||||
* @returns { Promise<KeyboardType> } Returns the keyboard type.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 9
|
||||
*/
|
||||
@ -502,7 +513,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { number } deviceId - ID of the specified input device.
|
||||
* @returns { KeyboardType } Returns the keyboard type.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @since 10
|
||||
*/
|
||||
@ -514,7 +526,8 @@ declare namespace inputDevice {
|
||||
* @param { number } delay - Repeat delay time, the unit is ms.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -527,7 +540,8 @@ declare namespace inputDevice {
|
||||
* @param { number } delay - Repeat delay time, the unit is ms.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -539,7 +553,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -551,7 +566,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @returns { Promise<number> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -564,7 +580,8 @@ declare namespace inputDevice {
|
||||
* @param { number } rate - Repetition rate, the unit is ms.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -577,7 +594,8 @@ declare namespace inputDevice {
|
||||
* @param { number } rate - Repetition rate, the unit is ms.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -589,7 +607,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -601,7 +620,8 @@ declare namespace inputDevice {
|
||||
*
|
||||
* @returns { Promise<number> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
|
15
api/@ohos.multimodalInput.inputEventClient.d.ts
vendored
15
api/@ohos.multimodalInput.inputEventClient.d.ts
vendored
@ -140,7 +140,8 @@ declare namespace inputEventClient {
|
||||
*
|
||||
* @param { KeyEventData } keyEvent - the key event to be injected.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputSimulator
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -151,7 +152,8 @@ declare namespace inputEventClient {
|
||||
* Inject system keys.
|
||||
*
|
||||
* @param { { KeyEvent } } KeyEvent - the key event to be injected.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputSimulator
|
||||
* @systemapi hide for inner use
|
||||
* @since 8
|
||||
@ -163,7 +165,8 @@ declare namespace inputEventClient {
|
||||
*
|
||||
* @param { MouseEventData } mouseEvent - the mouse event to be injected.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputSimulator
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -175,7 +178,8 @@ declare namespace inputEventClient {
|
||||
*
|
||||
* @param { TouchEventData } touchEvent - the touch event to be injected.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputSimulator
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -187,7 +191,8 @@ declare namespace inputEventClient {
|
||||
*
|
||||
* @param { boolean } result - Authorization result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputSimulator
|
||||
* @systemapi hide for inner use
|
||||
* @since 12
|
||||
|
51
api/@ohos.multimodalInput.inputMonitor.d.ts
vendored
51
api/@ohos.multimodalInput.inputMonitor.d.ts
vendored
@ -66,7 +66,8 @@ declare namespace inputMonitor {
|
||||
* @permission ohos.permission.INPUT_MONITORING
|
||||
* @param { 'touch' } type - Event type, which is **touch**.
|
||||
* @param { TouchEventReceiver } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
@ -80,7 +81,8 @@ declare namespace inputMonitor {
|
||||
* @permission ohos.permission.INPUT_MONITORING
|
||||
* @param { 'mouse' } type - Event type, which is **mouse**.
|
||||
* @param { Callback<MouseEvent> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
@ -95,7 +97,8 @@ declare namespace inputMonitor {
|
||||
* @param { 'mouse' } type - Event type, which is **mouse**.
|
||||
* @param { display.Rect[] } rect - A specified rectangular area that can trigger a callback, with a maximum of two.
|
||||
* @param { Callback<MouseEvent> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
@ -110,7 +113,8 @@ declare namespace inputMonitor {
|
||||
* @permission ohos.permission.INPUT_MONITORING
|
||||
* @param { 'touch' } type - Event type, which is **touch**.
|
||||
* @param { TouchEventReceiver } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
@ -124,7 +128,8 @@ declare namespace inputMonitor {
|
||||
* @permission ohos.permission.INPUT_MONITORING
|
||||
* @param { 'mouse' } type - Event type, which is **mouse**.
|
||||
* @param { Callback<MouseEvent> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
@ -140,7 +145,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<Pinch> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -155,7 +161,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<Pinch> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -171,7 +178,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<Pinch> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -187,7 +195,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<Pinch> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -203,7 +212,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<Rotate> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -219,7 +229,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<Rotate> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -234,7 +245,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<ThreeFingersSwipe> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -249,7 +261,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<ThreeFingersSwipe> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -264,7 +277,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<FourFingersSwipe> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -279,7 +293,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<FourFingersSwipe> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -294,7 +309,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<ThreeFingersTap> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
@ -309,7 +325,8 @@ declare namespace inputMonitor {
|
||||
* @param { Callback<ThreeFingersTap> } receiver - Callback used to receive the reported data.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - SystemAPI permit error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputMonitor
|
||||
* @systemapi hide for inner use
|
||||
* @since 11
|
||||
|
195
api/@ohos.multimodalInput.pointer.d.ts
vendored
195
api/@ohos.multimodalInput.pointer.d.ts
vendored
@ -450,7 +450,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } speed - Pointer moving speed, which is any number.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use
|
||||
* @since 9
|
||||
@ -462,7 +463,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } speed - Pointer moving speed, which is any number.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use
|
||||
* @since 9
|
||||
@ -474,7 +476,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } speed - Pointer moving speed, which is any number.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -485,7 +488,8 @@ declare namespace pointer {
|
||||
* Queries the pointer moving speed.
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use
|
||||
* @since 9
|
||||
@ -506,7 +510,8 @@ declare namespace pointer {
|
||||
* Queries the pointer moving speed through sync mode.
|
||||
* @returns { number } Returns the pointer speed through sync mode.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -519,7 +524,8 @@ declare namespace pointer {
|
||||
* @param { number } windowId - Window ID.
|
||||
* @param { PointerStyle } pointerStyle - Pointer style.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -531,7 +537,8 @@ declare namespace pointer {
|
||||
* @param { number } windowId - Window ID.
|
||||
* @param { PointerStyle } pointerStyle - Pointer style.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -542,7 +549,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } windowId - Window ID.
|
||||
* @param { PointerStyle } pointerStyle - Pointer style.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 10
|
||||
*/
|
||||
@ -553,7 +561,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } windowId - Window ID.
|
||||
* @param { AsyncCallback<PointerStyle> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -564,7 +573,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } windowId - Window ID.
|
||||
* @returns { Promise<PointerStyle> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -575,7 +585,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } windowId - Window ID.
|
||||
* @returns { PointerStyle } Returns the pointerStyle.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 10
|
||||
*/
|
||||
@ -587,7 +598,8 @@ declare namespace pointer {
|
||||
* @param { boolean } visible Whether the pointer icon is visible. The value true indicates that the pointer
|
||||
* icon is visible, and the value false indicates the opposite.
|
||||
* @param { AsyncCallback<void> } callback - Callback for the input device event.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -599,7 +611,8 @@ declare namespace pointer {
|
||||
* @param { boolean } visible Whether the pointer icon is visible. The value true indicates that the pointer
|
||||
* icon is visible, and the value false indicates the opposite.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -610,7 +623,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { boolean } visible Whether the pointer icon is visible. The value true indicates that the pointer
|
||||
* icon is visible, and the value false indicates the opposite.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 10
|
||||
*/
|
||||
@ -621,7 +635,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Returns <b>true</b> if the pointer icon is visible,
|
||||
* returns <b>false</b> otherwise.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 9
|
||||
*/
|
||||
@ -651,7 +666,8 @@ declare namespace pointer {
|
||||
* @param { number } color - Indicates the color of pointer.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -664,7 +680,8 @@ declare namespace pointer {
|
||||
* @param { number } color - Indicates the color of pointer.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -676,7 +693,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } color - Indicates the color of pointer.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -688,7 +706,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -723,7 +742,8 @@ declare namespace pointer {
|
||||
* @param { number } size - Indicates the size of pointer.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -736,7 +756,8 @@ declare namespace pointer {
|
||||
* @param { number } size - Indicates the size of pointer.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -748,7 +769,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { number } size - Indicates the size of pointer.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -760,7 +782,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -796,7 +819,8 @@ declare namespace pointer {
|
||||
* button is left button, and the value RIGHT indicates that mouse primary button is right button.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -810,7 +834,8 @@ declare namespace pointer {
|
||||
* button is left button, and the value RIGHT indicates that mouse primary button is right button.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -822,7 +847,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<PrimaryButton> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -834,7 +860,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<PrimaryButton> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -848,7 +875,8 @@ declare namespace pointer {
|
||||
* indicates that the mouse hover scroll is enabled, and the value false indicates the opposite.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -862,7 +890,8 @@ declare namespace pointer {
|
||||
* indicates that the mouse hover scroll is enabled, and the value false indicates the opposite.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -874,7 +903,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -886,7 +916,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<boolean> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -899,7 +930,8 @@ declare namespace pointer {
|
||||
* @param { number } rows - Indicates the number of mouse scrolling rows.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -912,7 +944,8 @@ declare namespace pointer {
|
||||
* @param { number } rows - Indicates the number of mouse scrolling rows.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -924,7 +957,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -936,7 +970,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<number> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -949,7 +984,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad scroll switch is enabled
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -962,7 +998,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad scroll switch is enabled
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -974,7 +1011,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -986,7 +1024,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<boolean> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -999,7 +1038,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad scroll direction is forward or reverse
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1012,7 +1052,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad scroll direction is forward or reverse
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1024,7 +1065,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1036,7 +1078,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<boolean> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1049,7 +1092,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad tap switch is enabled
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1062,7 +1106,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad tap switch is enabled
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1074,7 +1119,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1086,7 +1132,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<boolean> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1099,7 +1146,8 @@ declare namespace pointer {
|
||||
* @param { number } speed - Indicates the number of touchpad pointer speed.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1112,7 +1160,8 @@ declare namespace pointer {
|
||||
* @param { number } speed - Indicates the number of touchpad pointer speed.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1124,7 +1173,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1136,7 +1186,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<number> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1149,7 +1200,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad pinch switch is enabled
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1162,7 +1214,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad pinch switch is enabled
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1174,7 +1227,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1186,7 +1240,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<boolean> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1199,7 +1254,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad swipe switch is enabled
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1212,7 +1268,8 @@ declare namespace pointer {
|
||||
* @param { boolean } state - Indicates whether the touchpad swipe switch is enabled
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1224,7 +1281,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<boolean> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1236,7 +1294,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<boolean> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1249,7 +1308,8 @@ declare namespace pointer {
|
||||
* @param { RightClickType } type - Indicates the type of touchpad right button menu.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1262,7 +1322,8 @@ declare namespace pointer {
|
||||
* @param { RightClickType } type - Indicates the type of touchpad right click.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1274,7 +1335,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @param { AsyncCallback<RightClickType> } callback - Callback used to return the result of right click type.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1286,7 +1348,8 @@ declare namespace pointer {
|
||||
*
|
||||
* @returns { Promise<RightClickType> } Returns the result of right click type through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @systemapi hide for inner use.
|
||||
* @since 10
|
||||
@ -1301,7 +1364,8 @@ declare namespace pointer {
|
||||
* @param { number } focusX - focus x.
|
||||
* @param { number } focusY - focus y.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 11
|
||||
*/
|
||||
@ -1314,7 +1378,8 @@ declare namespace pointer {
|
||||
* @param { image.PixelMap } pixelMap - the cursor of pixelMap.
|
||||
* @param { number } focusX - focus x.
|
||||
* @param { number } focusY - focus y.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.Pointer
|
||||
* @since 11
|
||||
*/
|
||||
|
6
api/@ohos.multimodalInput.shortKey.d.ts
vendored
6
api/@ohos.multimodalInput.shortKey.d.ts
vendored
@ -35,7 +35,8 @@ declare namespace shortKey {
|
||||
* @param { number } delay - Duration of short key press which should be limited to 0-4000ms.
|
||||
* @param { AsyncCallback<void> } callback - Callback used to return the result.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.ShortKey
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
@ -48,7 +49,8 @@ declare namespace shortKey {
|
||||
* @param { number } delay - Duration of short key press which should be limited to 0-4000ms.
|
||||
* @returns { Promise<void> } Returns the result through a promise.
|
||||
* @throws { BusinessError } 202 - SystemAPI permission error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
|
||||
* <br>2. Incorrect parameter types; 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.MultimodalInput.Input.ShortKey
|
||||
* @systemapi hide for inner use
|
||||
* @since 10
|
||||
|
Loading…
Reference in New Issue
Block a user