public class QTCaptureDevice extends NSObject
| Constructor and Description |
|---|
QTCaptureDevice(long ptr)
Initializes a new QTCaptureDevice instance which is to represent
a specific QTKit QTCaptureDevice object.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
double |
getVideoMinFrameDuration() |
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.
|
double |
setVideoMinFrameDuration(double videoMinframeDuration) |
String |
uniqueID()
Gets the unique identifier of this QTCaptureDevice.
|
public QTCaptureDevice(long ptr)
ptr - the pointer to the QTKit QTCaptureDevice object which
is to be represented by the new instancepublic void close()
open() method.public static QTCaptureDevice deviceWithUniqueID(String deviceUID)
deviceUID - the unique identifier of the QTCaptureDevice to
be retrievedprotected 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()
public double getVideoMinFrameDuration()
public double setVideoMinFrameDuration(double videoMinframeDuration)
Copyright © 2021 jitsi.org. All rights reserved.