📄 userdata.html
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Specifies the handle to the data to be added to the user data list.<DD><CODE>udType</CODE> - Specifies the item's type value.</DL></DD></DL><HR><A NAME="removeData(int, int)"><!-- --></A><H3>removeData</H3><PRE>public void <B>removeData</B>(int udType, int index) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method removes an item from a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#18811">QuickTime::RemoveUserData()</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.</DL></DD></DL><HR><A NAME="countType(int)"><!-- --></A><H3>countType</H3><PRE>public int <B>countType</B>(int udType) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to determine the number of items of a given type in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi934">QuickTime::CountUserDataType()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>udType</CODE> - Specifies the type.<DT><B>Returns:</B><DD>The number of items of the specified type in the user data list.</DL></DD></DL><HR><A NAME="getNextType(int)"><!-- --></A><H3>getNextType</H3><PRE>public int <B>getNextType</B>(int udType) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to retrieve the next user data type in a specified user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi931">QuickTime::GetNextUserDataType()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>udType</CODE> - Specifies a user data type.<DT><B>Returns:</B><DD>The next user data type value in the specified user data list.</DL></DD></DL><HR><A NAME="getDataItem(int, int, int)"><!-- --></A><H3>getDataItem</H3><PRE>public <A HREF="../../../../quicktime/util/QTPointer.html">QTPointer</A> <B>getDataItem</B>(int dataSize, 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#iqMovi955">QuickTime::GetUserDataItem()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataSize</CODE> - Specifies the size of the data.<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>a QTPointer object that received the data from the specified item.</DL></DD></DL><HR><A NAME="setDataItem(quicktime.util.QTPointerRef, int, int)"><!-- --></A><H3>setDataItem</H3><PRE>public void <B>setDataItem</B>(<A HREF="../../../../quicktime/util/QTPointerRef.html">QTPointerRef</A> data, int udType, int index) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to set an item in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi950">QuickTime::SetUserDataItem()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Specifies the pointer to the data item to be set in a user data list.<DD><CODE>udType</CODE> - Specifies the type value assigned to the new item.<DD><CODE>index</CODE> - Specifies the item's index value.</DL></DD></DL><HR><A NAME="addText(quicktime.util.QTHandleRef, int, int, int)"><!-- --></A><H3>addText</H3><PRE>public void <B>addText</B>(<A HREF="../../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> data, int udType, int index, int itlRegionTag) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to place language-tagged text into an item in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi943">QuickTime::AddUserDataText()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Specifies the handle to the data to be added to the user data list.<DD><CODE>udType</CODE> - Specifies the type that is to be assigned to the new item.<DD><CODE>index</CODE> - Specifies the item to which the text is to be added.<DD><CODE>itlRegionTag</CODE> - Specifies the region code of the text to be added.</DL></DD></DL><HR><A NAME="addText(java.lang.String, int, int, int)"><!-- --></A><H3>addText</H3><PRE>public void <B>addText</B>(java.lang.String dataStr, int udType, int index, int itlRegionTag) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to place language-tagged text into an item in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi943">QuickTime::AddUserDataText()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Specifies the handle to the data to be added to the user data list.<DD><CODE>udType</CODE> - Specifies the type that is to be assigned to the new item.<DD><CODE>index</CODE> - Specifies the item to which the text is to be added.<DD><CODE>itlRegionTag</CODE> - Specifies the region code of the text to be added.</DL></DD></DL><HR><A NAME="getText(int, int, short)"><!-- --></A><H3>getText</H3><PRE>public <A HREF="../../../../quicktime/util/QTHandle.html">QTHandle</A> <B>getText</B>(int udType, int index, short itlRegionTag) throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 4, see getTextAsString</I><P><DD>This method allows your application to retrieve language-tagged text from an item in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi946">QuickTime::GetUserDataText()</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.<DD><CODE>itlRegionTag</CODE> - Specifies the language code of the text to be retrieved.<DT><B>Returns:</B><DD>a QTHandle object that received the data.</DL></DD></DL><HR><A NAME="getTextAsString(int, int, int)"><!-- --></A><H3>getTextAsString</H3><PRE>public java.lang.String <B>getTextAsString</B>(int udType, int index, int itlRegionTag) throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows your application to retrieve language-tagged text from an item in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi946">QuickTime::GetUserDataText()</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.<DD><CODE>itlRegionTag</CODE> - Specifies the language code of the text to be retrieved.<DT><B>Returns:</B><DD>a QTHandle object that received the data.</DL></DD></DL><HR><A NAME="removeText(int, int, int)"><!-- --></A><H3>removeText</H3><PRE>public void <B>removeText</B>(int udType, int index, int itlRegionTag) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to remove language-tagged text from an item in a user data list. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3d.htm#iqMovi948">QuickTime::RemoveUserDataText()</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.<DD><CODE>itlRegionTag</CODE> - Specifies the language code of the text to be removed.</DL></DD></DL><HR><A NAME="copyFromUserData(quicktime.std.movies.media.UserData, boolean)"><!-- --></A><H3>copyFromUserData</H3><PRE>public void <B>copyFromUserData</B>(<A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> destUserData, boolean replace) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Copies the user data to the destination user data object </DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>destUserData</CODE> - destination user data object<DD><CODE>replace</CODE> - true if the user data should be replaced; false if you want the data merged</DL></DD></DL><HR><A NAME="copyToUserData(quicktime.std.movies.media.UserData, boolean)"><!-- --></A><H3>copyToUserData</H3><PRE>public void <B>copyToUserData</B>(<A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> srcUserData, boolean replace) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Copies the user data from the specified user data object</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>srcUserData</CODE> - source user data object<DD><CODE>replace</CODE> - true if the user data should be replaced; false if you want the data merged</DL></DD></DL><HR><A NAME="copyUserData(quicktime.std.movies.media.UserData, quicktime.std.movies.media.UserData, int)"><!-- --></A><H3>copyUserData</H3><PRE>public static void <B>copyUserData</B>(<A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> srcUserData, <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> destUserData, int copyRule) throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Copies the user data from the specified user data object into the destination user data object </DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>srcUserData</CODE> - source user data object<DD><CODE>destUserData</CODE> - destination user data object<DD><CODE>copyRule</CODE> - constant for merge or replace use StdQTConstants5_1.kQTCopyUserDataReplace or StdQTConstants5_1.kQTCopyUserDataMerge</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/UserData.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../quicktime/std/movies/media/TweenMedia.html"><B>PREV CLASS</B></A> <A HREF="../../../../quicktime/std/movies/media/VideoMedia.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="UserData.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -