# vibrate
设备震动提醒。来源自 Cordova API (opens new window)。
# 输入
继承标准对象输入,扩展属性描述
| 名称 | 数据类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
| mills | int | 是 | 毫秒ms |
# 输出
继承标准对象输出,无扩展属性
# 示例代码
app.vibrate(example_mills);
← hint notification →
聆客开放平台 设备震动提醒。来源自 Cordova API (opens new window)。
继承标准对象输入,扩展属性描述
| 名称 | 数据类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
| mills | int | 是 | 毫秒ms |
继承标准对象输出,无扩展属性
app.vibrate(example_mills);
← hint notification →