sud.vibrateShort
JS
sud.vibrateShort(Object object)使手机发生较短时间的振动(40 ms)
在 iOS 平台上,iPhone 7 / 7 Plus 以下设备不生效
参数
- Object object: 传入参数,具体的属性见下表
object 的属性说明:
| 属性 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| success | function | 否 | 接口调用成功的回调函数 |
| fail | function | 否 | 接口调用失败的回调函数 |
| complete | function | 否 | 接口调用结束的回调函数 |