|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.directshow.DSManager
public class DSManager
DirectShow capture device manager.
DSManager act as a singleton. When you need it
call getInstance and don't forget to call dispose()
when you have finished.
DSManager manager = DSManager.getInstance();
DSCaptureDevice[] devices = manager.getCaptureDevices();
// do stuff with capture devices
// ...
DSManager.dispose();
// do not use any of DSCaptureDevice objects obtained by
// manager
| Method Summary | |
|---|---|
static void |
dispose()
Dispose the object. |
DSCaptureDevice[] |
getCaptureDevices()
Get the array of capture devices. |
static DSManager |
getInstance()
Get the instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DSManager getInstance()
public static void dispose()
public DSCaptureDevice[] getCaptureDevices()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||