|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SoundHandle
A interface to a piece of sound. Ready to be played.
| Method Summary | |
|---|---|
void |
dispose()
This Sound is not needed anymore and should be removed from the system. |
float |
getVolume()
|
boolean |
isPlaying()
Checks if this sound is still playing. |
void |
play()
Play the sound. |
void |
setVolume(float volume)
Change volume of the sound while it is playing. |
void |
stop()
Stop the sound. |
| Method Detail |
|---|
void play()
void stop()
void setVolume(float volume)
volume - new value in range 0 to 1float getVolume()
boolean isPlaying()
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||