FileDocCategorySizeDatePackage
NullVibrator.javaAPI DocAndroid 5.1 API1556Thu Mar 12 22:22:10 GMT 2015android.os

NullVibrator

public class NullVibrator extends Vibrator
Vibrator implementation that does nothing.
hide

Fields Summary
private static final NullVibrator
sInstance
Constructors Summary
private NullVibrator()


      
    
Methods Summary
public voidcancel()

    
public static android.os.NullVibratorgetInstance()

        return sInstance;
    
public booleanhasVibrator()

        return false;
    
public voidvibrate(int uid, java.lang.String opPkg, long milliseconds, android.media.AudioAttributes attributes)

hide

        vibrate(milliseconds);
    
public voidvibrate(int uid, java.lang.String opPkg, long[] pattern, int repeat, android.media.AudioAttributes attributes)

hide

        if (repeat >= pattern.length) {
            throw new ArrayIndexOutOfBoundsException();
        }