基础
device
设备能力 API。
device.taptic
在支持触觉反馈的设备上触发振动。强度intensity 接受 0.0 到 1.0 之间的数值。
import { device } from "onescript";
await device.taptic(0.5);How is this guide?
最后更新于
设备能力 API。
在支持触觉反馈的设备上触发振动。强度intensity 接受 0.0 到 1.0 之间的数值。
import { device } from "onescript";
await device.taptic(0.5);How is this guide?
最后更新于