📄 sequencegrabber.html
字号:
The sequence grabber component stores the data that is obtained during the record operation as a QuickTime movie in this file. This function also allows you to control some aspects of the record operation, which are related to output, by specifying control flags. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG203">QuickTime::SGSetDataOutput</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>movieFile</CODE> - Specifies which movie file to access.<DD><CODE>whereFlags</CODE> - </DL></DD></DL><HR><A NAME="getDataOutputFile()"><!-- --></A><H3>getDataOutputFile</H3><PRE>public <A HREF="../../../quicktime/io/QTFile.html">QTFile</A> <B>getDataOutputFile</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows you to determine the movie file that is currently assigned to a sequence grabber component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG206">QuickTime::SGGetDataOutput</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The QTFile movie file.</DL></DD></DL><HR><A NAME="getDataOutputFlags()"><!-- --></A><H3>getDataOutputFlags</H3><PRE>public int <B>getDataOutputFlags</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows you to determine the record control flags that is currently assigned to a sequence grabber component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG206">QuickTime::SGGetDataOutput</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The record control flags.</DL></DD></DL><HR><A NAME="setDataRef(quicktime.std.movies.media.DataRef, int)"><!-- --></A><H3>setDataRef</H3><PRE>public void <B>setDataRef</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataRef, int whereFlags) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines control information flags for the current operation. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.a.htm#refSeq374">QuickTime::SGSetDataRef</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - information that identifies the destination container<DD><CODE>flags</CODE> - that control the record operation</DL></DD></DL><HR><A NAME="getDataRef()"><!-- --></A><H3>getDataRef</H3><PRE>public <A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>getDataRef</B>() 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</DL></DD></DL><HR><A NAME="getDataRefFlags()"><!-- --></A><H3>getDataRefFlags</H3><PRE>public int <B>getDataRefFlags</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the data reference flags that control the record operation. <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 record flags</DL></DD></DL><HR><A NAME="setMaximumRecordTime(int)"><!-- --></A><H3>setMaximumRecordTime</H3><PRE>public void <B>setMaximumRecordTime</B>(int ticks) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to set the time limit for recording. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.e.htm#imSeqG299">QuickTime::SGSetMaximumRecordTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ticks of recording time. If 0 then no limit has been set</DL></DD></DL><HR><A NAME="getMaximumRecordTime()"><!-- --></A><H3>getMaximumRecordTime</H3><PRE>public int <B>getMaximumRecordTime</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to retrieve the time limit you have set for recording. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.e.htm#imSeqG301">QuickTime::SGGetMaximumRecordTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ticks of recording time. If 0 then no limit has been set</DL></DD></DL><HR><A NAME="getStorageSpaceRemaining()"><!-- --></A><H3>getStorageSpaceRemaining</H3><PRE>public int <B>getStorageSpaceRemaining</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to monitor the amount of space remaining for use during a record operation. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.e.htm#imSeqG303">QuickTime::SGGetStorageSpaceRemaining</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of bytes left for the current record operation.</DL></DD></DL><HR><A NAME="getTimeRemaining()"><!-- --></A><H3>getTimeRemaining</H3><PRE>public int <B>getTimeRemaining</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to obtain an estimate of the amount of recording time that remains for the current recording operation. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.e.htm#imSeqG306">QuickTime::SGGetTimeRemaining</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ticks of recording time remaining</DL></DD></DL><HR><A NAME="isPreviewMode()"><!-- --></A><H3>isPreviewMode</H3><PRE>public boolean <B>isPreviewMode</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines whether the particular sequence grabber is in preview mode. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.b.htm#refSeq383">QuickTime::SGGetMode</a> </b><BR><BR></DL></DD></DL><HR><A NAME="isRecordMode()"><!-- --></A><H3>isRecordMode</H3><PRE>public boolean <B>isRecordMode</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines whether the particular sequence grabber is in Record mode. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.b.htm#refSeq383">QuickTime::SGGetMode</a> </b><BR><BR></DL></DD></DL><HR><A NAME="getTimeBase()"><!-- --></A><H3>getTimeBase</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>getTimeBase</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the SequenceGrabbers's current time Base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.e.htm#imSeqG309">QuickTime::SGGetTimeBase</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the TimeBase</DL></DD></DL><HR><A NAME="getIndChannelType(int)"><!-- --></A><H3>getIndChannelType</H3><PRE>public int <B>getIndChannelType</B>(int index) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to obtain info on the channel type currently in use by a sequence grabber component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG222">QuickTime::SGGetIndChannel</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - identifies the channel to be queried<DT><B>Returns:</B><DD>the channel type (e.g VideoMediaType, SoundMediaType etc..)</DL></DD></DL><HR><A NAME="getIndChannel(int)"><!-- --></A><H3>getIndChannel</H3><PRE>public <A HREF="../../../quicktime/std/sg/SGChannel.html">SGChannel</A> <B>getIndChannel</B>(int index) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows you to obtain the channel type currently in use by a sequence grabber component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG222">QuickTime::SGGetIndChannel</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - identifies the channel to be queried<DT><B>Returns:</B><DD>the connection to the channel.</DL></DD></DL><HR><A NAME="setDataProc(quicktime.std.sg.SGDataProc)"><!-- --></A><H3>setDataProc</H3><PRE>public void <B>setDataProc</B>(<A HREF="../../../quicktime/std/sg/SGDataProc.html">SGDataProc</A> proc) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specify a data function for use by the sequence grabber. Whenever any channel assigned to the sequence grabber writes data, your data function is called as well. Your data function may then write the data to another destination. </DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>proc</CODE> - the callback that will be called by the SequenceGrabber</DL></DD></DL><HR><A NAME="removeDataProc()"><!-- --></A><H3>removeDataProc</H3><PRE>public void <B>removeDataProc</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Remove the currently registered data proc. </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/SequenceGrabber.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/sg/DigitizerInfo.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/sg/SGChannel.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="SequenceGrabber.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 + -