dataref.html

来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 290 行 · 第 1/3 页

HTML
290
字号
 so the dataRefType is a handle DataRef ('hndl'). Hints can be given to 
 QuickTime (and should if at all possible) about the format of the data
 that is contained within the handle. Hints can take one of three forms
 <UL>
 	<LI>MIME Type	-> kDataRefMimeTypeTag
	<LI>MacOS File Type	-> kDataRefQTFileTypeTag
 	<LI>File extension	-> kDataRefFileExtensionTag
 </UL>
 The preferred usage is to pass in either the MacOS File Type (which will also work on non-MacOS platforms)
 or the MIME type information. The File extension is a more arbitrary indicator and should be the least
 referred to. If the hint information is not specified a paramErr exception is thrown<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - Specifies the data (a handle) that this reference should point to.<DD><CODE>hintFlag</CODE> - describes the hint data that is used<DD><CODE>hintString</CODE> - contains the hint information</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="fromGraphicsExporterInputDataRef(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>
fromGraphicsExporterInputDataRef</H3>
<PRE>
public static <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromGraphicsExporterInputDataRef</B>(<A HREF="../../../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;ge)
                                                throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE>
<DL>
<DD>This method returns a copy of a data reference.
	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.22.htm#28901">QuickTime::GraphicsExportGetInputDataReference()</a> </b><BR><BR>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a copy of a data reference from the graphics exporter component.<DT><B>See Also: </B><DD><CODE>quicktime.std.image.GraphicsExporter.getInputDataReference</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromGraphicsExporterOutputDataRef(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>
fromGraphicsExporterOutputDataRef</H3>
<PRE>
public static <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromGraphicsExporterOutputDataRef</B>(<A HREF="../../../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;ge)
                                                 throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE>
<DL>
<DD>This method returns a copy of a data reference.
	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.26.htm#17186">QuickTime::GraphicsExportGetOutputDataReference()</a> </b><BR><BR>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a copy of a data reference from the graphics exporter component.<DT><B>See Also: </B><DD><CODE>quicktime.std.image.GraphicsExporter.getOutputDataReference</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromMovie(quicktime.std.movies.Movie)"><!-- --></A><H3>
fromMovie</H3>
<PRE>
public static <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromMovie</B>(<A HREF="../../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m)
                         throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE>
<DL>
<DD>This method allows your application to get the default data reference for the movie.
	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16961">QuickTime::GetMovieDefaultDataRef()</a> </b><BR><BR>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a DataRef object specifiying the default data reference for the movie.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/movies/Movie.html#getDefaultDataRef()"><CODE>Movie.getDefaultDataRef()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="fromSequenceGrabber(quicktime.std.sg.SequenceGrabber)"><!-- --></A><H3>
fromSequenceGrabber</H3>
<PRE>
public static <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromSequenceGrabber</B>(<A HREF="../../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A>&nbsp;sg)
                                   throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE>
<DL>
<DD>Determines the data reference that is currently assigned to a sequence grabber component.
	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.a.htm#refSeq377">QuickTime::SGGetDataRef</a> </b><BR><BR>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the dataRef<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/sg/SequenceGrabber.html#getDataRef()"><CODE>SequenceGrabber.getDataRef()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="fromMedia(quicktime.std.movies.media.Media, int)"><!-- --></A><H3>
fromMedia</H3>
<PRE>
public static <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromMedia</B>(<A HREF="../../../../quicktime/std/movies/media/Media.html">Media</A>&nbsp;m,
                                int&nbsp;index)
                         throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE>
<DL>
<DD>This method returns a copy of a specified data reference.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?