|
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 VolumeControl
Control for volume level in media service.
| Field Summary | |
|---|---|
static String |
CAPTURE_VOLUME_LEVEL_PROPERTY_NAME
The name of the configuration property which specifies the volume level of audio input. |
static String |
PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME
The name of the configuration property which specifies the volume level of audio output. |
| Method Summary | |
|---|---|
void |
addVolumeChangeListener(VolumeChangeListener listener)
Adds a VolumeChangeListener to be informed for any change in the volume levels. |
float |
getMaxValue()
Returns the maximum allowed volume value. |
float |
getMinValue()
Returns the minimum allowed volume value. |
boolean |
getMute()
Get mute state of sound playback. |
float |
getVolume()
Current volume value. |
void |
removeVolumeChangeListener(VolumeChangeListener listener)
Removes a VolumeChangeListener. |
void |
setMute(boolean mute)
Mutes current sound playback. |
float |
setVolume(float value)
Changes volume level. |
| Field Detail |
|---|
static final String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME
static final String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME
| Method Detail |
|---|
float getVolume()
float getMinValue()
float getMaxValue()
float setVolume(float value)
value - the new level to set.
void setMute(boolean mute)
mute - mutes/unmutes playback.boolean getMute()
void addVolumeChangeListener(VolumeChangeListener listener)
listener - volume change listener.void removeVolumeChangeListener(VolumeChangeListener listener)
listener - the volume change listener to be removed.
|
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 | |||||||||