📄 userdata.html
字号:
<CODE> <A HREF="../../../../quicktime/util/QTHandle.html">QTHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/UserData.html#getText(int, int, short)">getText</A></B>(int udType, int index, short itlRegionTag)</CODE><BR> <B>Deprecated.</B> <I>since QTJava 4, see getTextAsString</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/UserData.html#getTextAsString(int, int, int)">getTextAsString</A></B>(int udType, int index, int itlRegionTag)</CODE><BR> This method allows your application to retrieve language-tagged text from an item in a user data list.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/util/QTHandle.html">QTHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/UserData.html#putIntoHandle()">putIntoHandle</A></B>()</CODE><BR> This method returns a handle which contains a publicly parseable form of the user data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/UserData.html#removeData(int, int)">removeData</A></B>(int udType, int index)</CODE><BR> This method removes an item from a user data list.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/UserData.html#removeText(int, int, int)">removeText</A></B>(int udType, int index, int itlRegionTag)</CODE><BR> This method allows your application to remove language-tagged text from an item in a user data list.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/UserData.html#setDataItem(quicktime.util.QTPointerRef, int, int)">setDataItem</A></B>(<A HREF="../../../../quicktime/util/QTPointerRef.html">QTPointerRef</A> data, int udType, int index)</CODE><BR> This method allows your application to set an item in a user data list.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A>, <A HREF="../../../../quicktime/QTObject.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="UserData()"><!-- --></A><H3>UserData</H3><PRE>public <B>UserData</B>() throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This constructor creates a UserData object. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi958">QuickTime::NewUserData()</a> </b><BR><BR><HR><A NAME="UserData(quicktime.util.QTHandle)"><!-- --></A><H3>UserData</H3><PRE>public <B>UserData</B>(<A HREF="../../../../quicktime/util/QTHandle.html">QTHandle</A> handle) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This constructor creates a UserData object from a handle that is in the standard user data storage format. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi966">QuickTime::NewUserDataFromHandle()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>handle</CODE> - Specifies the handle for the user data to be constructed.</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="fromGraphicsExporter(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporter</H3><PRE>public static <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>fromGraphicsExporter</B>(<A HREF="../../../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A> ge) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to obtain access to a GraphicsExporter user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.20.htm#26264">QuickTime::GraphicsExportGetMetaData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a reference to the GraphicsExporter's user data list.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/image/GraphicsExporter.html#getMetaData()"><CODE>GraphicsExporter.getMetaData()</CODE></A></DL></DD></DL><HR><A NAME="fromMovie(quicktime.std.movies.Movie)"><!-- --></A><H3>fromMovie</H3><PRE>public static <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>fromMovie</B>(<A HREF="../../../../quicktime/std/movies/Movie.html">Movie</A> m) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to obtain access to a movie's user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi919">QuickTime::GetMovieUserData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a reference to the movie's user data list.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/movies/Movie.html#getUserData()"><CODE>Movie.getUserData()</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/UserData.html">UserData</A> <B>fromSequenceGrabber</B>(<A HREF="../../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A> sg) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Retrieves the current settings of all channels used by the sequence grabber. The sequence grabber places all of this configuration information into a Movie Toolbox user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.d.htm#imSeqG282">QuickTime::SGGetSettings</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>A Movie Toolbox user data list that contains the configuration information.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/sg/SequenceGrabber.html#getSettings()"><CODE>SequenceGrabber.getSettings()</CODE></A></DL></DD></DL><HR><A NAME="fromSGChannel(quicktime.std.sg.SGChannel)"><!-- --></A><H3>fromSGChannel</H3><PRE>public static <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>fromSGChannel</B>(<A HREF="../../../../quicktime/std/sg/SGChannel.html">SGChannel</A> chan) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Retrieves the current settings of the SequenceGrabber channel. The sequence grabber places this configuration information into a Movie Toolbox user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.d.htm#imSeqG290">QuickTime::SGGetChannelSettings</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ud</CODE> - Specifies a user data list with configuration information for the sequence grabber.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/sg/SGChannel.html#getSettings()"><CODE>SGChannel.getSettings()</CODE></A></DL></DD></DL><HR><A NAME="fromTrack(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrack</H3><PRE>public static <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>fromTrack</B>(<A HREF="../../../../quicktime/std/movies/Track.html">Track</A> t) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to obtain access to a track's user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi923">QuickTime::GetTrackUserData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a UserData object referencing the track's user data list.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/movies/Track.html#getUserData()"><CODE>Track.getUserData()</CODE></A></DL></DD></DL><HR><A NAME="fromMedia(quicktime.std.movies.media.Media)"><!-- --></A><H3>fromMedia</H3><PRE>public static <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>fromMedia</B>(<A HREF="../../../../quicktime/std/movies/media/Media.html">Media</A> m) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to obtain access to a media's user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi927">QuickTime::GetMediaUserData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a UserData object for the media's user data list.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/movies/media/Media.html#getUserData()"><CODE>Media.getUserData()</CODE></A></DL></DD></DL><HR><A NAME="fromTimeCoderSource(quicktime.std.qtcomponents.TimeCoder, quicktime.std.qtcomponents.TimeCodeDescription)"><!-- --></A><H3>fromTimeCoderSource</H3><PRE>public static <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>fromTimeCoderSource</B>(<A HREF="../../../../quicktime/std/qtcomponents/TimeCoder.html">TimeCoder</A> timeCoder, <A HREF="../../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to obtain access to a media's user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3648">QuickTime::TCGetSourceRef()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>timeCoder</CODE> - timecode media handler.<DD><CODE>tcd</CODE> - the description that describes the time code reference to be changed<DT><B>Returns:</B><DD>a UserData object for the media's user data list.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/qtcomponents/TimeCoder.html#getUserDataSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)"><CODE>TimeCoder.getUserDataSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)</CODE></A></DL></DD></DL><HR><A NAME="putIntoHandle()"><!-- --></A><H3>putIntoHandle</H3><PRE>public <A HREF="../../../../quicktime/util/QTHandle.html">QTHandle</A> <B>putIntoHandle</B>() throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns a handle which contains a publicly parseable form of the user data. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi964">QuickTime::PutUserDataIntoHandle()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>A QTHandle object which contains a publicly parseable form of the user data.</DL></DD></DL><HR><A NAME="getData(int, int)"><!-- --></A><H3>getData</H3><PRE>public <A HREF="../../../../quicktime/util/QTHandle.html">QTHandle</A> <B>getData</B>(int udType, int index) throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns a specified user data item. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi940">QuickTime::GetUserData()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>udType</CODE> - Specifies the item's type value.<DD><CODE>index</CODE> - Specifies the item's index value.<DT><B>Returns:</B><DD>The handle which contains the data from the specified item.</DL></DD></DL><HR><A NAME="addData(quicktime.util.QTHandleRef, int)"><!-- --></A><H3>addData</H3><PRE>public void <B>addData</B>(<A HREF="../../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> data, int udType) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to add an item to a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi937">QuickTime::AddUserData()</a> </b><BR><BR></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -