-bottom

mmpp.media
Class Vibration

java.lang.Object
  |
  +--mmpp.media.Vibration

public final class Vibration
extends java.lang.Object

폰의 진동 기능을 제어하기 위한 class


Method Summary
static int getLevelNum()
          가능한 진동 level을 얻는다.
static void start(int level, int timeout)
          지정된 시간동안 진동을 시작한다.
static void stop()
          진동을 멈춘다.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLevelNum

public static int getLevelNum()
가능한 진동 level을 얻는다.
Returns:
Vibration 레벨의 수

start

public static void start(int level,
                         int timeout)
지정된 시간동안 진동을 시작한다.
Parameters:
level - 진동 level
timeout - 진동하는 시간의 길이

stop

public static void stop()
진동을 멈춘다.

-bottom