|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.notify.AudioNotifierServiceImpl
public class AudioNotifierServiceImpl
The implementation of the AudioNotifierService.
| Constructor Summary | |
|---|---|
AudioNotifierServiceImpl(DeviceConfiguration deviceConfiguration)
Creates audio notify service. |
|
| Method Summary | |
|---|---|
SCAudioClipImpl |
createAudio(String uri)
Creates an SCAudioClip from the given URI and adds it to the list of available audio-s. |
void |
destroyAudio(SCAudioClip audioClip)
Removes the given audio from the list of available audio clips. |
DeviceConfiguration |
getDeviceConfiguration()
The device configuration. |
boolean |
isMute()
Returns TRUE if the sound is currently disabled, FALSE otherwise. |
void |
propertyChange(PropertyChangeEvent evt)
Listens for changes in notify device |
void |
setMute(boolean isMute)
Enables or disables the sound in the application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AudioNotifierServiceImpl(DeviceConfiguration deviceConfiguration)
deviceConfiguration - the device configuration.| Method Detail |
|---|
public SCAudioClipImpl createAudio(String uri)
createAudio in interface AudioNotifierServiceuri - the path where the audio file could be found
public void destroyAudio(SCAudioClip audioClip)
destroyAudio in interface AudioNotifierServiceaudioClip - the audio to destroypublic void setMute(boolean isMute)
setMute in interface AudioNotifierServiceisMute - when TRUE disables the sound, otherwise enables the sound.public boolean isMute()
isMute in interface AudioNotifierServicepublic DeviceConfiguration getDeviceConfiguration()
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - the event that notify device has changed.
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||