public interface SoundNotificationHandler extends NotificationHandler
Modifier and Type | Method and Description |
---|---|
boolean |
isMute()
Specifies if currently the sound is off.
|
boolean |
isPlaying(NotificationData data)
Tells if the given notification sound is currently played.
|
void |
setMute(boolean isMute)
Stops/Restores all currently playing sounds.
|
void |
start(SoundNotificationAction action,
NotificationData data)
Start playing the sound pointed by getDescriotor.
|
void |
stop(NotificationData data)
Stops playing the sound pointing by getDescriptor.
|
getActionType
void start(SoundNotificationAction action, NotificationData data)
action
- the action to act upondata
- Additional data for the event.void stop(NotificationData data)
data
- Additional data for the event.void setMute(boolean isMute)
isMute
- mute or not currently playing soundsboolean isMute()
boolean isPlaying(NotificationData data)
data
- Additional data for the event.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.