mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
!12826 【泛Sensor】【sensor】新增系统api属性systemUsage,可绕过触觉开关管控
Merge pull request !12826 from lixiangpeng5/lxp
This commit is contained in:
commit
c1a691f291
10
api/@ohos.vibrator.d.ts
vendored
10
api/@ohos.vibrator.d.ts
vendored
@ -453,6 +453,16 @@ declare namespace vibrator {
|
||||
* @since 11
|
||||
*/
|
||||
usage: Usage;
|
||||
|
||||
/**
|
||||
* Indicates whether to bypass system management switches.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Sensors.MiscDevice
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
systemUsage?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user