public abstract class AbstractDeviceConfigurationListener extends java.lang.Object implements java.beans.PropertyChangeListener, SystrayPopupMessageListener
Constructor and Description |
---|
AbstractDeviceConfigurationListener(ConfigurationForm configurationForm)
Creates an abstract listener to the click on the popup message concerning
device configuration changes.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases the resources acquired by this instance throughout its lifetime,
uninstalls the listeners it has installed and, generally, prepares it for
garbage collection.
|
void |
popupMessageClicked(SystrayPopupMessageEvent ev)
Indicates that user has clicked on the systray popup message.
|
abstract void |
propertyChange(java.beans.PropertyChangeEvent ev)
Function called when an audio device is plugged or unplugged.
|
void |
showPopUpNotification(java.lang.String title,
java.lang.String body,
java.lang.String popUpEvent)
Shows a pop-up notification corresponding to a device configuration
change.
|
public AbstractDeviceConfigurationListener(ConfigurationForm configurationForm)
configurationForm
- The audio or video configuration form.public void dispose()
public void popupMessageClicked(SystrayPopupMessageEvent ev)
popupMessageClicked
in interface SystrayPopupMessageListener
ev
- the event triggered when user clicks on the systray popup
messagepublic abstract void propertyChange(java.beans.PropertyChangeEvent ev)
propertyChange
in interface java.beans.PropertyChangeListener
ev
- The property change event which may concern the audio devicepublic void showPopUpNotification(java.lang.String title, java.lang.String body, java.lang.String popUpEvent)
title
- The title of the pop-up notification.body
- A body text describing the device modifications.popUpEvent
- The event for a device which has fired this
notification: connected, disconnected or selected.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.