2021-09-18 15:20:11 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2021-03-02 01:25:17 +02:00
<!-- NewPage -->
< html lang = "en" >
< head >
<!-- Generated by javadoc -->
< title > ExecuteCallback (FFmpegKit)< / title >
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
< script type = "text/javascript" src = "../../../script.js" > < / script >
< / head >
< body >
< script type = "text/javascript" > < ! - -
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ExecuteCallback (FFmpegKit)";
}
}
catch(err) {
}
//-->
2021-09-18 15:20:11 +03:00
var methods = {"i0":6};
2021-03-02 01:25:17 +02:00
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2021-09-18 15:20:11 +03:00
< / script >
2021-03-02 01:25:17 +02:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
<!-- ========= START OF TOP NAVBAR ======= -->
2021-09-18 15:20:11 +03:00
< div class = "topNav" > < a name = "navbar.top" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.top" title = "Skip navigation links" > Skip navigation links< / a > < / div >
2021-09-18 15:20:11 +03:00
< a name = "navbar.top.firstrow" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2021-09-18 15:20:11 +03:00
< li > < a href = "../../../com/arthenica/ffmpegkit/package-summary.html" > Package< / a > < / li >
2021-03-02 01:25:17 +02:00
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
2021-09-18 15:20:11 +03:00
< ul class = "navList" >
< li > < a href = "../../../com/arthenica/ffmpegkit/AsyncGetMediaInformationTask.html" title = "class in com.arthenica.ffmpegkit" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../com/arthenica/ffmpegkit/FFmpegKit.html" title = "class in com.arthenica.ffmpegkit" > < span class = "typeNameLink" > Next Class< / span > < / a > < / li >
2021-03-02 01:25:17 +02:00
< / ul >
2021-09-18 15:20:11 +03:00
< ul class = "navList" >
< li > < a href = "../../../index.html?com/arthenica/ffmpegkit/ExecuteCallback.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "ExecuteCallback.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
< li > < a href = "../../../allclasses-noframe.html" > All Classes< / a > < / li >
2021-03-02 01:25:17 +02:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > Field | < / li >
< li > Constr | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / li >
< li > Constr | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
< / ul >
< / div >
2021-09-18 15:20:11 +03:00
< a name = "skip.navbar.top" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a > < / div >
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
< div class = "header" >
2021-09-18 15:20:11 +03:00
< div class = "subTitle" > com.arthenica.ffmpegkit< / div >
2021-03-02 01:25:17 +02:00
< h2 title = "Interface ExecuteCallback" class = "title" > Interface ExecuteCallback< / h2 >
< / div >
< div class = "contentContainer" >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > Functional Interface:< / dt >
< dd > This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.< / dd >
< / dl >
< hr >
2021-09-18 15:20:11 +03:00
< br >
2021-03-02 01:25:17 +02:00
< pre > @FunctionalInterface
public interface < span class = "typeNameLabel" > ExecuteCallback< / span > < / pre >
< div class = "block" > < p > Callback function invoked when an asynchronous session ends running.
2021-09-18 15:20:11 +03:00
< p > Session has either < a href = "../../../com/arthenica/ffmpegkit/SessionState.html#COMPLETED" > < code > SessionState.COMPLETED< / code > < / a > or < a href = "../../../com/arthenica/ffmpegkit/SessionState.html#FAILED" > < code > SessionState.FAILED< / code > < / a > state when
2021-03-02 01:25:17 +02:00
the callback is invoked.
2021-09-18 15:20:11 +03:00
< p > If it has < a href = "../../../com/arthenica/ffmpegkit/SessionState.html#COMPLETED" > < code > SessionState.COMPLETED< / code > < / a > state, < code > ReturnCode< / code > should be checked to
2021-03-02 01:25:17 +02:00
see the execution result.
2021-09-18 15:20:11 +03:00
< p > If < code > getState< / code > returns < a href = "../../../com/arthenica/ffmpegkit/SessionState.html#FAILED" > < code > SessionState.FAILED< / code > < / a > then
2021-03-02 01:25:17 +02:00
< code > getFailStackTrace< / code > should be used to get the failure reason.
< pre >
switch (session.getState()) {
case COMPLETED: {
ReturnCode returnCode = session.getReturnCode();
} break;
case FAILED: {
String failStackTrace = session.getFailStackTrace();
} break;
}
< / pre > < / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ========== METHOD SUMMARY =========== -->
< ul class = "blockList" >
2021-09-18 15:20:11 +03:00
< li class = "blockList" > < a name = "method.summary" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
2021-09-18 15:20:11 +03:00
< table class = "memberSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
2021-03-02 01:25:17 +02:00
< caption > < span id = "t0" class = "activeTableTab" > < span > All Methods< / span > < span class = "tabEnd" > < / span > < / span > < span id = "t2" class = "tableTab" > < span > < a href = "javascript:show(2);" > Instance Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < span id = "t3" class = "tableTab" > < span > < a href = "javascript:show(4);" > Abstract Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2021-09-18 15:20:11 +03:00
< th class = "colLast" scope = "col" > Method and Description< / th >
2021-03-02 01:25:17 +02:00
< / tr >
< tr id = "i0" class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2021-09-18 15:20:11 +03:00
< td class = "colLast" > < code > < span class = "memberNameLink" > < a href = "../../../com/arthenica/ffmpegkit/ExecuteCallback.html#apply-com.arthenica.ffmpegkit.Session-" > apply< / a > < / span > (< a href = "../../../com/arthenica/ffmpegkit/Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > session)< / code >
2021-03-02 01:25:17 +02:00
< div class = "block" > Called when an asynchronous session ends running.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ METHOD DETAIL ========== -->
< ul class = "blockList" >
2021-09-18 15:20:11 +03:00
< li class = "blockList" > < a name = "method.detail" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
2021-09-18 15:20:11 +03:00
< a name = "apply-com.arthenica.ffmpegkit.Session-" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > apply< / h4 >
2021-09-18 15:20:11 +03:00
< pre > void apply(< a href = "../../../com/arthenica/ffmpegkit/Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > session)< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > < p > Called when an asynchronous session ends running.< / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > session< / code > - session< / dd >
< / dl >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2021-09-18 15:20:11 +03:00
< div class = "bottomNav" > < a name = "navbar.bottom" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links< / a > < / div >
2021-09-18 15:20:11 +03:00
< a name = "navbar.bottom.firstrow" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2021-09-18 15:20:11 +03:00
< li > < a href = "../../../com/arthenica/ffmpegkit/package-summary.html" > Package< / a > < / li >
2021-03-02 01:25:17 +02:00
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
2021-09-18 15:20:11 +03:00
< ul class = "navList" >
< li > < a href = "../../../com/arthenica/ffmpegkit/AsyncGetMediaInformationTask.html" title = "class in com.arthenica.ffmpegkit" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../com/arthenica/ffmpegkit/FFmpegKit.html" title = "class in com.arthenica.ffmpegkit" > < span class = "typeNameLink" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/arthenica/ffmpegkit/ExecuteCallback.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "ExecuteCallback.html" target = "_top" > No Frames< / a > < / li >
< / ul >
2021-03-02 01:25:17 +02:00
< ul class = "navList" id = "allclasses_navbar_bottom" >
2021-09-18 15:20:11 +03:00
< li > < a href = "../../../allclasses-noframe.html" > All Classes< / a > < / li >
2021-03-02 01:25:17 +02:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > Field | < / li >
< li > Constr | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / li >
< li > Constr | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
< / ul >
< / div >
2021-09-18 15:20:11 +03:00
< a name = "skip.navbar.bottom" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a > < / div >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
< / body >
< / html >