ketai.ui

## Class KetaiVibrate

- java.lang.Object
- - ketai.ui.KetaiVibrate

-     public class KetaiVibrate
      extends java.lang.Object

  The KetaiVibrate Class allows access to the vibration motor service.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KetaiVibrate(processing.core.PApplet _parent)` Instantiates a new ketai vibrate.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasVibrator()` Checks for vibrator.
    `void` | `stop()` Stop.
    `void` | `vibrate()` Vibrate.
    `void` | `vibrate(long _duration)` Vibrate.
    `void` | `vibrate(long[] pattern, int repeat)` Vibrate.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KetaiVibrate

          public KetaiVibrate(processing.core.PApplet _parent)

      Instantiates a new ketai vibrate.
      Parameters:
        `_parent` - the PApplet/sketch

  - ### Method Detail

    - #### hasVibrator

          public boolean hasVibrator()

      Checks for vibrator.
      Returns:
        true, if successful

    - #### vibrate

          public void vibrate()

      Vibrate.

    - #### vibrate

          public void vibrate(long _duration)

      Vibrate.
      Parameters:
        `_duration` - the _duration in millis

    - #### vibrate

          public void vibrate(long[] pattern,
                              int repeat)

      Vibrate.
      Parameters:
        `pattern` - the pattern, off/on values in an array, in millis
        `repeat` - the repeat

    - #### stop

          public void stop()

      Stop.