public class VolumeChangeEvent extends EventObject
source| Constructor and Description |
|---|
VolumeChangeEvent(VolumeControl source,
float level,
boolean mute)
Initializes a new VolumeChangeEvent which is to notify about a
specific volume level and its mute state.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getLevel()
Gets the volume level notified about by this VolumeChangeEvent.
|
boolean |
getMute()
Gets the indicator which determines whether the volume is muted.
|
VolumeControl |
getSourceVolumeControl()
Gets the VolumeControl which is the source of the change
notified about by this VolumeChangeEvent.
|
getSource, toStringpublic VolumeChangeEvent(VolumeControl source, float level, boolean mute)
source - the VolumeControl which is the source of the
changelevel - the volume levelmute - true if the volume is muted; otherwise,
falseIllegalArgumentException - if source is nullpublic VolumeControl getSourceVolumeControl()
public float getLevel()
public boolean getMute()
Copyright © 2021 jitsi.org. All rights reserved.