⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 media.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DT><B>Parameters:</B><DD><CODE>index</CODE> - Identifies the data reference.</DL></DD></DL><HR><A NAME="setDataHandler(int, quicktime.std.movies.media.DataHandler)"><!-- --></A><H3>setDataHandler</H3><PRE>public final void <B>setDataHandler</B>(int&nbsp;index,                                 <A HREF="../../../../quicktime/std/movies/media/DataHandler.html">DataHandler</A>&nbsp;dH)                          throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to assign a data handler to a media. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.46.htm#iqMovi1095">QuickTime::SetMediaDataHandler()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - Identifies the data reference for this data handler.<DD><CODE>dataHandler</CODE> - Specifies the data handler for the media.</DL></DD></DL><HR><A NAME="getHandler()"><!-- --></A><H3>getHandler</H3><PRE>public <A HREF="../../../../quicktime/std/movies/media/MediaHandler.html">MediaHandler</A> <B>getHandler</B>()                        throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to obtain a reference to a media handler component. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.46.htm#iqMovi1084">QuickTime::GetMediaHandler()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a MediaHandler object for the media's media handler.</DL></DD></DL><HR><A NAME="setHandler(quicktime.std.movies.media.MediaHandler)"><!-- --></A><H3>setHandler</H3><PRE>public final void <B>setHandler</B>(<A HREF="../../../../quicktime/std/movies/media/MediaHandler.html">MediaHandler</A>&nbsp;mH)                      throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to assign a specific media handler to a track.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.46.htm#iqMovi1087">QuickTime::SetMediaHandler()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mH</CODE> - Contains a reference to a media handler component.</DL></DD></DL><HR><A NAME="getTrack()"><!-- --></A><H3>getTrack</H3><PRE>public final <A HREF="../../../../quicktime/std/movies/Track.html">Track</A> <B>getTrack</B>()                     throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to determine the track that uses a specified media.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.38.htm#iqMovi823">QuickTime::GetMediaTrack()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a Track object of the track that uses the media.</DL></DD></DL><HR><A NAME="getCreationTime()"><!-- --></A><H3>getCreationTime</H3><PRE>public final int <B>getCreationTime</B>()                          throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns the creation date stored in the media. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3b.htm#iqMovi881">QuickTime::GetMediaCreationTime()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the creation date stored in the media.</DL></DD></DL><HR><A NAME="getModificationTime()"><!-- --></A><H3>getModificationTime</H3><PRE>public final int <B>getModificationTime</B>()                              throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns a media's modification date.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3b.htm#iqMovi884">QuickTime::GetMediaModificationTime()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a media's modification date.</DL></DD></DL><HR><A NAME="getTimeScale()"><!-- --></A><H3>getTimeScale</H3><PRE>public final int <B>getTimeScale</B>()                       throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to determine a media's time scale. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.36.htm#iqMovi791">QuickTime::GetMediaTimeScale()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the media's time scale.</DL></DD></DL><HR><A NAME="setTimeScale(int)"><!-- --></A><H3>setTimeScale</H3><PRE>public final void <B>setTimeScale</B>(int&nbsp;timeScale)                        throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to set a media's time scale. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.36.htm#iqMovi787">QuickTime::SetMediaTimeScale()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>timeScale</CODE> - Specifies the media's new time scale.</DL></DD></DL><HR><A NAME="getDuration()"><!-- --></A><H3>getDuration</H3><PRE>public final int <B>getDuration</B>()                      throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns the duration of a media.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.36.htm#iqMovi784">QuickTime::GetMediaDuration()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the duration of a media.</DL></DD></DL><HR><A NAME="getLanguage()"><!-- --></A><H3>getLanguage</H3><PRE>public final int <B>getLanguage</B>()                      throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns a media's language or region code. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.39.htm#iqMovi847">QuickTime::GetMediaLanguage()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a media's language or region code.</DL></DD></DL><HR><A NAME="setLanguage(int)"><!-- --></A><H3>setLanguage</H3><PRE>public final void <B>setLanguage</B>(int&nbsp;language)                       throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method sets a media's language or region code.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.39.htm#iqMovi844">QuickTime::SetMediaLanguage()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>language</CODE> - Specifies the media's language or region code.</DL></DD></DL><HR><A NAME="getQuality()"><!-- --></A><H3>getQuality</H3><PRE>public final int <B>getQuality</B>()                     throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method returns a media's quality level value.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.39.htm#iqMovi853">QuickTime::GetMediaQuality()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a media's quality level value.</DL></DD></DL><HR><A NAME="setQuality(int)"><!-- --></A><H3>setQuality</H3><PRE>public final void <B>setQuality</B>(int&nbsp;quality)                      throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method sets a media's quality level value. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.39.htm#iqMovi850">QuickTime::SetMediaQuality()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>quality</CODE> - Specifies the media's quality value.</DL></DD></DL><HR><A NAME="getHandlerDescription()"><!-- --></A><H3>getHandlerDescription</H3><PRE>public final <A HREF="../../../../quicktime/std/movies/media/HandlerInfo.html">HandlerInfo</A> <B>getHandlerDescription</B>()                                        throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows your application to retrieve information about a media handler.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.46.htm#iqMovi1081">QuickTime::GetMediaHandlerDescription()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a HandlerInfo object.</DL></DD></DL><HR><A NAME="getUserData()"><!-- --></A><H3>getUserData</H3><PRE>public final <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>getUserData</B>()                           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.</DL></DD></DL><HR><A NAME="getInputMap()"><!-- --></A><H3>getInputMap</H3><PRE>public final <A HREF="../../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> <B>getInputMap</B>()                                throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE>

⌨️ 快捷键说明

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