|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AudioNotifierService
The AudioNotifierService is meant to be used to control all sounds in the application. An audio could be created by calling the createAudio method. In order to stop all sounds in the application one could call the setMute method. To check whether the sound is currently enabled the isMute method could be used.
| Method Summary | |
|---|---|
SCAudioClip |
createAudio(String uri)
Creates an SCAudioClip and returns it. |
void |
destroyAudio(SCAudioClip audio)
Destroys the given audio. |
boolean |
isMute()
Specifies if currently the sound is off. |
void |
setMute(boolean isMute)
Stops/Restores all currently playing sounds. |
| Method Detail |
|---|
SCAudioClip createAudio(String uri)
uri - the uri, which will be the source of the audio
void destroyAudio(SCAudioClip audio)
audio - SCAudioClip to destroyvoid setMute(boolean isMute)
isMute - mute or not currently playing soundsboolean isMute()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||