跳到主要内容

mgtv.vibrateShort(Object object)

功能描述

使手机发生较短时间的振动

参数

Object object

属性类型默认值必填说明
typestring-震动强度类型,有效值为:heavy、medium、light
successfunction-接口调用成功的回调函数
failfunction-接口调用失败的回调函数
completefunction-接口调用结束的回调函数(调用成功、失败都会执行)