|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SoundDevice
Defines behaviour for any single voice noise making device.
| Method Summary | |
|---|---|
void |
off()
Turns the noise making device off. |
void |
on(int frequency)
Turns the noise making device on to a specific frequency. |
void |
on(int frequency,
int duration)
Turns the noise making device on to a specific frequncy and off after a specific duration. |
| Method Detail |
|---|
void on(int frequency)
frequency - (in Hz) to use.void off()
void on(int frequency,
int duration)
frequency - (in Hz) to useduration - (in milliseconds) to make noise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||