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

📄 qtsession.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="isClassSigned()"><!-- --></A><H3>isClassSigned</H3><PRE>public static boolean <B>isClassSigned</B>()</PRE><DL><DD>To check if the class has been registered and is signed.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if applet is signed and registered.  Returns false if a signedClass has not been registered with the QTSession.initialize or open methods.</DL></DD></DL><HR><A NAME="hasSecurityRestrictions()"><!-- --></A><H3>hasSecurityRestrictions</H3><PRE>public static boolean <B>hasSecurityRestrictions</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="canDoFullScreen()"><!-- --></A><H3>canDoFullScreen</H3><PRE>public static boolean <B>canDoFullScreen</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if program is able to run in FullScreen mode.</DL></DD></DL><HR><A NAME="isCurrentOS(int)"><!-- --></A><H3>isCurrentOS</H3><PRE>public static boolean <B>isCurrentOS</B>(int&nbsp;osName)</PRE><DL><DD>This method returns true if the passed in OS name is the OS upon which the current session of QuickTime is running.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>osName</CODE> - the osName of the system that you want to find out if you are running on.<DT><B>Returns:</B><DD>true if the current OS is the one as passed in or false if not.</DL></DD></DL><HR><A NAME="isInitialized()"><!-- --></A><H3>isInitialized</H3><PRE>public static boolean <B>isInitialized</B>()</PRE><DL><DD>This call will return true if the QuickTime Session has been initialized, otherwise false. An application should acquire the termination lock if it is possible that the QTSession has been terminated or could be terminated whilst this query is being processed. <pre> 	synchronized (QTSession.terminationLock()) {		if (QTSession.isInitialized()) {			//...		}	} </pre><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if still initialized</DL></DD></DL><HR><A NAME="isVRInitialized()"><!-- --></A><H3>isVRInitialized</H3><PRE>public static boolean <B>isVRInitialized</B>()</PRE><DL><DD>This call will return true if the QuickTime Session has been initialized, otherwise false.<DD><DL></DL></DD></DL><HR><A NAME="is3DInitialized()"><!-- --></A><H3>is3DInitialized</H3><PRE>public static boolean <B>is3DInitialized</B>()</PRE><DL><DD>This call will return true if the QuickTime Session has been initialized, otherwise false.<DD><DL></DL></DD></DL><HR><A NAME="initialize(int)"><!-- --></A><H3>initialize</H3><PRE>public static void <B>initialize</B>(int&nbsp;flag)                       throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QT environment.  If you use this call (and not the open calls) then you should also ensure that you check that QT is present through the gestalt call and call enterMovies to initialize the  movie toolbox. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - flag that are valid for this call.</DL></DD></DL><HR><A NAME="initialize(int, java.lang.Class)"><!-- --></A><H3>initialize</H3><PRE>public static void <B>initialize</B>(int&nbsp;flag,                              java.lang.Class&nbsp;signedClass)                       throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QT environment.  If you use this call (and not the open calls) then you should also ensure that you check that QT is present through the gestalt call and call enterMovies to initialize the  movie toolbox. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - flag that are valid for this call.<DD><CODE>signedClass</CODE> - the Class object which is signed</DL></DD></DL><HR><A NAME="initializeVR()"><!-- --></A><H3>initializeVR</H3><PRE>public static void <B>initializeVR</B>()                         throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will initialize QTVR. It must be called before any of the QTVR API calls are made.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/VR/tp_qt3ref_vrmanagr.34.htm#pgfId=80250">QuickTime::InitializeQTVR()</a> </b><BR><BR></DL></DD></DL><HR><A NAME="initialize3D()"><!-- --></A><H3>initialize3D</H3><PRE>public static void <B>initialize3D</B>()                         throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="open()"><!-- --></A><H3>open</H3><PRE>public static void <B>open</B>()                 throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QTML environment.  This will ensure that any required initialisations are performed, and that the required version of QuickTime is present. The minimal version of QT that is required is version 3. This will also call EnterMovies. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR> <BR><BR><b>QuickTime::Gestalt()</b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></DL></DD></DL><HR><A NAME="open(int)"><!-- --></A><H3>open</H3><PRE>public static void <B>open</B>(int&nbsp;initFlag)                 throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QTML environment.  This will ensure that any required initialisations are performed, and that the required version of QuickTime is present. The minimal version of QT that is required is version 3. You can set the initialisation options to also have this call initialise QuickTimeVR and/or QuickDraw3D.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>initFlag</CODE> - can also initialise VR or 3D. This will also call EnterMovies. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR> <BR><BR><b>QuickTime::Gestalt()</b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></DD></DL><HR><A NAME="open(int, int, int)"><!-- --></A><H3>open</H3><PRE>public static void <B>open</B>(int&nbsp;majorVersion,                        int&nbsp;minorVersion,                        int&nbsp;initFlag)                 throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QTML environment.  You can optionally open a session where the specified minimal version and minorVersion of QT must be present or an exception will be thrown. This will also call EnterMovies for you. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR> <BR><BR><b>QuickTime::Gestalt()</b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>version</CODE> - the minimal version of QT that must be present<DD><CODE>minorVersion</CODE> - the minimal minorVersion of QT that must be present<DD><CODE>initFlag</CODE> - can also initialise VR or 3D.</DL></DD></DL><HR><A NAME="open(java.lang.Class)"><!-- --></A><H3>open</H3><PRE>public static void <B>open</B>(java.lang.Class&nbsp;signedClass)                 throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QTML environment.  This will ensure that any required initialisations are performed, and that the required version of QuickTime is present. The minimal version of QT that is required is version 3. This will also call EnterMovies. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR> <BR><BR><b>QuickTime::Gestalt()</b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theClass</CODE> - the Class object which is signed</DL></DD></DL><HR><A NAME="open(int, java.lang.Class)"><!-- --></A><H3>open</H3><PRE>public static void <B>open</B>(int&nbsp;initFlag,                        java.lang.Class&nbsp;signedClass)                 throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QTML environment.  This will ensure that any required initialisations are performed, and that the required version of QuickTime is present. The minimal version of QT that is required is version 3. You can set the initialisation options to also have this call initialise QuickTimeVR and/or QuickDraw3D.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>initFlag</CODE> - can also initialise VR or 3D.<DD><CODE>theClass</CODE> - the Class object which is signed This will also call EnterMovies. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR> <BR><BR><b>QuickTime::Gestalt()</b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></DD></DL><HR><A NAME="open(int, int, int, java.lang.Class)"><!-- --></A><H3>open</H3><PRE>public static void <B>open</B>(int&nbsp;majorVersion,                        int&nbsp;minorVersion,                        int&nbsp;initFlag,                        java.lang.Class&nbsp;signedClass)                 throws <A HREF="../quicktime/QTException.html">QTException</A></PRE><DL><DD>This call will open a QTSession and perform any initialisations of the QTML environment.  You can optionally open a session where the specified minimal version and minorVersion of QT must be present or an exception will be thrown. This will also call EnterMovies for you. <BR><BR><b>QuickTime::InitializeQTML()</b><BR><BR> <BR><BR><b>QuickTime::Gestalt()</b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>version</CODE> - the minimal version of QT that must be present<DD><CODE>minorVersion</CODE> - the minimal minorVersion of QT that must be present<DD><CODE>initFlag</CODE> - can also initialise VR or 3D.<DD><CODE>signedClass</CODE> - the Class object which is signed</DL>

⌨️ 快捷键说明

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