Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.quicktime
Class QTCaptureSession

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.quicktime.NSObject
      extended by net.java.sip.communicator.impl.neomedia.quicktime.QTCaptureSession

public class QTCaptureSession
extends NSObject

Represents a QTKit QTCaptureSession object.

Author:
Lubomir Marinov

Constructor Summary
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
 boolean addInput(QTCaptureInput input)
           
 boolean addOutput(QTCaptureOutput output)
           
 void close()
          Releases the resources used by this instance throughout its existence and makes it available for garbage collection.
protected  void finalize()
          Called by the garbage collector to release system resources and perform other cleanup.
 void startRunning()
           
 void stopRunning()
           
 
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

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:
finalize in class Object
See Also:
Object.finalize()

startRunning

public void startRunning()

stopRunning

public void stopRunning()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.