|
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.quicktime.NSObject
net.java.sip.communicator.impl.neomedia.quicktime.QTCaptureDevice
public class QTCaptureDevice
Represents a QTKit capture device which is connected or has been previously connected to the user's computer during the lifetime of the application.
| Constructor Summary | |
|---|---|
QTCaptureDevice(long ptr)
Initializes a new QTCaptureDevice instance which is to represent a specific QTKit QTCaptureDevice object. |
|
| Method Summary | |
|---|---|
void |
close()
Releases application control over this device acquired in the open() method. |
static QTCaptureDevice |
deviceWithUniqueID(String deviceUID)
Gets the QTCaptureDevice with a specific unique identifier. |
protected void |
finalize()
Called by the garbage collector to release system resources and perform other cleanup. |
QTFormatDescription[] |
formatDescriptions()
|
static QTCaptureDevice[] |
inputDevicesWithMediaType(QTMediaType mediaType)
|
boolean |
isConnected()
Gets the indicator which determines whether this QTCaptureDevice is connected and available to applications. |
String |
localizedDisplayName()
Gets the localized human-readable name of this QTCaptureDevice. |
boolean |
open()
Attempts to give the application control over this QTCaptureDevice so that it can be used for capture. |
String |
uniqueID()
Gets the unique identifier of this QTCaptureDevice. |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.quicktime.NSObject |
|---|
getPtr, release, release, retain, retain, setPtr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QTCaptureDevice(long ptr)
ptr - the pointer to the QTKit QTCaptureDevice object which
is to be represented by the new instance| Method Detail |
|---|
public void close()
open() method.
public static QTCaptureDevice deviceWithUniqueID(String deviceUID)
deviceUID - the unique identifier of the QTCaptureDevice to
be retrieved
protected void finalize()
finalize in class ObjectObject.finalize()public QTFormatDescription[] formatDescriptions()
public static QTCaptureDevice[] inputDevicesWithMediaType(QTMediaType mediaType)
public boolean isConnected()
public String localizedDisplayName()
public boolean open()
throws NSErrorException
NSErrorException - if this device was not opened successfully and
carries an NSError describing why this device could not be
openedpublic String uniqueID()
|
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 | |||||||||