52ky 发表于 2022-5-17 10:48:20

Vibrator手机震动服务.pdf

intrepeat为重复震动的次数,如果为0则为持续循环,如果为-1则不重复震动。publicvoid vibrate(long milliseconds)
设置开启震动。
public voidcancel()取消一个震动操作。
public boolean hasVibrator()


(Intrepeat is the number of repeated vibrations. If it is 0, it is a continuous cycle. If it is - 1, it does not repeat vibrations. publicvoid vibrate(long milliseconds)
Set on vibration.
Public void cancel() cancels a vibration operation.
public boolean hasVibrator())




页: [1]
查看完整版本: Vibrator手机震动服务.pdf