!12826 【泛Sensor】【sensor】新增系统api属性systemUsage,可绕过触觉开关管控

Merge pull request !12826 from lixiangpeng5/lxp
This commit is contained in:
openharmony_ci 2024-07-30 12:11:52 +00:00 committed by Gitee
commit c1a691f291
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -453,6 +453,16 @@ declare namespace vibrator {
* @since 11 * @since 11
*/ */
usage: Usage; usage: Usage;
/**
* Indicates whether to bypass system management switches.
*
* @type { ?boolean }
* @syscap SystemCapability.Sensors.MiscDevice
* @systemapi
* @since 12
*/
systemUsage?: boolean;
} }
/** /**