public interface Audio extends Observable<AudioEvent>
Modifier and Type | Method and Description |
---|---|
boolean |
isMuted()
Returns
true when audio output is muted. |
boolean |
isPlaying()
Returns
true when the audio is currently playing on the loaded web page. |
void |
mute()
Mutes all audio output.
|
void |
unmute()
Unmutes all audio output.
|
on
void mute()
java.lang.IllegalStateException
- when the browser is closedvoid unmute()
java.lang.IllegalStateException
- when the browser is closedboolean isMuted()
true
when audio output is muted.java.lang.IllegalStateException
- when the browser is closedboolean isPlaying()
true
when the audio is currently playing on the loaded web page.java.lang.IllegalStateException
- when the browser is closed