Class QTCaptureSession
- java.lang.Object
-
- org.jitsi.impl.neomedia.quicktime.NSObject
-
- org.jitsi.impl.neomedia.quicktime.QTCaptureSession
-
public class QTCaptureSession extends NSObject
Represents a QTKit QTCaptureSession object.- Author:
- Lyubomir Marinov
-
-
Constructor Summary
Constructors Constructor Description QTCaptureSession()Initializes a new QTCaptureSession instance which represents a new QTKit QTCaptureSession object.QTCaptureSession(long ptr)Initializes a new QTCaptureSession instance which is to represent a specific QTKit QTCaptureSession object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddInput(QTCaptureInput input)booleanaddOutput(QTCaptureOutput output)voidclose()Releases the resources used by this instance throughout its existence and makes it available for garbage collection.protected voidfinalize()Called by the garbage collector to release system resources and perform other cleanup.voidstartRunning()voidstopRunning()
-
-
-
Constructor Detail
-
QTCaptureSession
public QTCaptureSession()
Initializes a new QTCaptureSession instance which represents a new QTKit QTCaptureSession object.
-
QTCaptureSession
public QTCaptureSession(long ptr)
Initializes a new QTCaptureSession instance which is to represent a specific QTKit QTCaptureSession object.- Parameters:
ptr- the pointer to the QTKit QTCaptureSession object to be represented by the new instance
-
-
Method Detail
-
addInput
public boolean addInput(QTCaptureInput input) throws NSErrorException
- Throws:
NSErrorException
-
addOutput
public boolean addOutput(QTCaptureOutput output) throws NSErrorException
- Throws:
NSErrorException
-
close
public void close()
Releases the resources used by this instance throughout its existence and makes it available for garbage collection. This instance is considered unusable after closing.
-
finalize
protected void finalize()
Called by the garbage collector to release system resources and perform other cleanup.- Overrides:
finalizein classObject- See Also:
Object.finalize()
-
startRunning
public void startRunning()
-
stopRunning
public void stopRunning()
-
-