---
title: "Class Vibrator"
---

`package org.kwis.msp.media`

```text
java.lang.Object
  |
  +--org.kwis.msp.media.Vibrator
```

## 설명

**extends Object:**

핸드셋의 진동기를 제어하는 클래스입니다.

## 메서드 요약

- `static void on (int level, int duration)` — 이 메쏘드가 리턴된 후에는 진동기가 정해진 시간동안 진동해야 한다.

## 메서드 상세

### on

```java
public static void on(int level,
                      int duration)
```

**Parameters:**
- `duration` - 진동할 시간(milliseconds), 0이면 무한 진동

***AromaSoft Corp. Proprietary and Confidential***

*(C)opyright 2003 AromaSoft Corp. All right reserved. 
Contact : [contact@aromasoft.com](mailto:contact@aromasoft.com)*
