net.java.sip.communicator.impl.notification
Class SoundNotificationHandlerImpl
java.lang.Object
net.java.sip.communicator.impl.notification.SoundNotificationHandlerImpl
- All Implemented Interfaces:
- NotificationHandler, SoundNotificationHandler
public class SoundNotificationHandlerImpl
- extends Object
- implements SoundNotificationHandler
An implementation of the SoundNotificationHandler interface.
- Author:
- Yana Stamcheva
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
playedClips
WeakHashMap<SCAudioClip,NotificationData> playedClips
SoundNotificationHandlerImpl
public SoundNotificationHandlerImpl()
getActionType
public String getActionType()
- Gets the type of this handler.
- Specified by:
getActionType in interface NotificationHandler
- Returns:
- the type of this handler.
start
public void start(SoundNotificationAction action,
NotificationData data)
- Plays the sound given by the containing soundFileDescriptor. The
sound is played in loop if the loopInterval is defined.
- Specified by:
start in interface SoundNotificationHandler
- Parameters:
action - The action to act upon.data - Additional data for the event.
stop
public void stop(NotificationData data)
- Stops the sound.
- Specified by:
stop in interface SoundNotificationHandler
- Parameters:
data - Additional data for the event.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.