| 
 
 | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.siemens.mp.game.Vibrator
This class gives basic access to the phone's vibrator.
  You can activate the vibrator either for a given period of time
  by using triggerVibrator method, or
	you can control the duration yourself by using the
  startVibrator and stopVibrator methods.
 Example:
    Vibrator.startVibrator();
    Thread.sleep(1000);
    Vibrator.stopVibrator();
 Alternative way:
    Vibrator.triggerVibrator(1000);
| Constructor Summary | |
Vibrator()
 | 
|
| Method Summary | |
static void | 
startVibrator()
Activates vibrator.  | 
static void | 
stopVibrator()
Deactivates vibrator.  | 
static void | 
triggerVibrator(int duration)
Activates the vibrator for a given time in milliseconds.  | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Vibrator()
| Method Detail | 
public static void triggerVibrator(int duration)
duration - duration of the vibrator activation period, in milliseconds.public static void startVibrator()
public static void stopVibrator()
  | 
 
 | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Generated on 2003-10-17 | For further information and updates, please visit Siemens mobile Developer Portal |