public interface Audio extends Observable<AudioEvent>
Modifier and Type | Method and Description |
---|---|
Browser |
browser()
Returns the
Browser instance of this audio. |
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
Browser browser()
Browser
instance of this audio.void mute()
ObjectClosedException
- when the browser is closedvoid unmute()
ObjectClosedException
- when the browser is closedboolean isMuted()
true
when audio output is muted.ObjectClosedException
- when the browser is closedboolean isPlaying()
true
when the audio is currently playing on the loaded web page.ObjectClosedException
- when the browser is closed