public class CaptureDevices extends Devices
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_DEVICE
The property of the capture devices.
|
Constructor and Description |
---|
CaptureDevices(AudioSystem audioSystem)
Initializes the capture device list management.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CaptureDeviceInfo2> |
getDevices()
Returns the list of the CaptureDeviceInfo2s which are
active/plugged-in.
|
protected java.lang.String |
getPropDevice()
Returns the property of the capture devices.
|
void |
setDevices(java.util.List<CaptureDeviceInfo2> devices)
Sets the list of CaptureDeviceInfo2s which are
active/plugged-in.
|
getDevice, getSelectedDevice, setDevice
public static final java.lang.String PROP_DEVICE
public CaptureDevices(AudioSystem audioSystem)
audioSystem
- The audio system managing this capture device list.public java.util.List<CaptureDeviceInfo2> getDevices()
getDevices
in class Devices
protected java.lang.String getPropDevice()
getPropDevice
in class Devices
public void setDevices(java.util.List<CaptureDeviceInfo2> devices)
setDevices
in class Devices
devices
- the list of CaptureDeviceInfo2s which are
active/plugged-in
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.