Java android.os Vibrator fields, constructors, methods, implement or subclass

Example usage for Java android.os Vibrator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.os Vibrator.

The text is from its open source code.

Method

voidcancel()
Turn the vibrator off.
booleanhasVibrator()
Check whether the hardware has a vibrator.
voidvibrate(long milliseconds)
Vibrate constantly for the specified period of time.
voidvibrate(VibrationEffect vibe)
voidvibrate(long milliseconds, AudioAttributes attributes)
Vibrate constantly for the specified period of time.
voidvibrate(long[] pattern, int repeat)
Vibrate with a given pattern.
voidvibrate(VibrationEffect vibe, AudioAttributes attributes)