121 lines
5.8 KiB
HTML
121 lines
5.8 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>FFmpegKit iOS / macOS / tvOS API: ExecuteCallback.h File Reference</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="../../ffmpeg-kit-icon-v9-small.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">FFmpegKit iOS / macOS / tvOS API<span id="projectnumber"> 4.5</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#typedef-members">Typedefs</a> </div>
|
|
<div class="headertitle"><div class="title">ExecuteCallback.h File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><a href="../../de/d57/_execute_callback_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:ae866bcbfaac596a73cc73249540d2e12"><td class="memItemLeft" align="right" valign="top">typedef void(^ </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d57/_execute_callback_8h.html#ae866bcbfaac596a73cc73249540d2e12">ExecuteCallback</a>) (id< <a class="el" href="../../d2/d81/protocol_session-p.html">Session</a> > session)</td></tr>
|
|
<tr class="separator:ae866bcbfaac596a73cc73249540d2e12"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="ae866bcbfaac596a73cc73249540d2e12" name="ae866bcbfaac596a73cc73249540d2e12"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae866bcbfaac596a73cc73249540d2e12">◆ </a></span>ExecuteCallback</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(^ ExecuteCallback) (id< <a class="el" href="../../d2/d81/protocol_session-p.html">Session</a> > session)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p >Callback invoked when an asynchronous session ends running. </p>
|
|
<p ><a class="el" href="../../d2/d81/protocol_session-p.html">Session</a> has either SessionStateCompleted or SessionStateFailed state when the callback is invoked. </p>
|
|
<p >If it has SessionStateCompleted state, <code><a class="el" href="../../db/d76/interface_return_code.html">ReturnCode</a></code> should be checked to see the execution result. </p>
|
|
<p >If <code>getState</code> returns SessionStateFailed then <code>getFailStackTrace</code> should be used to get the failure reason. </p><pre>
|
|
switch ([session getState]) {
|
|
case SessionStateCompleted:
|
|
<a class="el" href="../../db/d76/interface_return_code.html">ReturnCode</a> *returnCode = [session getReturnCode];
|
|
break;
|
|
case SessionStateFailed:
|
|
NSString *failStackTrace = [session getFailStackTrace];
|
|
break;
|
|
}
|
|
</pre><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">session</td><td>session of the completed execution </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../de/d57/_execute_callback_8h_source.html#l00046">46</a> of file <a class="el" href="../../de/d57/_execute_callback_8h_source.html">ExecuteCallback.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sat Sep 18 2021 14:51:17 for FFmpegKit iOS / macOS / tvOS API by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
|
|
</small></address>
|
|
</body>
|
|
</html>
|