quicktime.streaming
Class SourcerInitParams
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTPointerRef
|
+--quicktime.util.QTPointer
|
+--quicktime.streaming.SourcerInitParams
- All Implemented Interfaces:
- java.lang.Cloneable, InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary
- public final class SourcerInitParams
- extends QTPointer
This class provides a representation the native QTSSourcerInitParams structure that provides a collection
of sourcer initialization parameters
Field Summary |
static int |
kNativeSize
This is the size of this class |
Constructor Summary |
SourcerInitParams(int vers,
int flags,
int dataType,
QTPointer data)
Constructs a SourcerInitParams object based on the native QTSourcerInitParams structure |
SourcerInitParams(int flags,
int dataType,
QTPointer data)
Constructs a version 1 SourcerInitParams object based on the native QTSourcerInitParams structure |
Method Summary |
QTPointer |
getData()
Gets the target container data |
int |
getDataType()
Gets the data type |
int |
getFlags()
Gets the flags of the sourcer init params object |
int |
getVersion()
Gets the version of the sourcer init params object |
void |
setData(QTPointer data)
Sets the target container data |
void |
setDataType(int type)
Sets the data type of the sourcer object |
void |
setFlags(int flags)
Sets the flags associated with the sourcer init params object |
void |
setVersion(int vers)
Sets the version of the sourcer init params object |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class quicktime.util.QTPointerRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
kNativeSize
public static final int kNativeSize
- This is the size of this class
SourcerInitParams
public SourcerInitParams(int flags,
int dataType,
QTPointer data)
throws QTException
- Constructs a version 1 SourcerInitParams object based on the native QTSourcerInitParams structure
- Parameters:
flags
- export flagsdataType
- the data type of the sourcer objectdata
- the data to use with the sourcer
SourcerInitParams
public SourcerInitParams(int vers,
int flags,
int dataType,
QTPointer data)
throws QTException
- Constructs a SourcerInitParams object based on the native QTSourcerInitParams structure
- Parameters:
vers
- version of the params structureflags
- export flagsdataType
- the data type of the sourcer objectdata
- the data to use with the sourcer
setVersion
public void setVersion(int vers)
- Sets the version of the sourcer init params object
- Parameters:
vers
- version
getVersion
public int getVersion()
- Gets the version of the sourcer init params object
- Returns:
- version
setFlags
public void setFlags(int flags)
- Sets the flags associated with the sourcer init params object
- Parameters:
flags
- flags
getFlags
public int getFlags()
- Gets the flags of the sourcer init params object
- Returns:
- flags
setDataType
public void setDataType(int type)
- Sets the data type of the sourcer object
- Parameters:
type
- sourcer data type
getDataType
public int getDataType()
- Gets the data type
setData
public void setData(QTPointer data)
- Sets the target container data
- Parameters:
data
- target container data
getData
public QTPointer getData()
- Gets the target container data
toString
public java.lang.String toString()
- Returns a string representation of this object.
- Overrides:
toString
in class QTPointerRef
- Returns:
- a String