2022-09-17 20:29:42 +03:00
<!DOCTYPE HTML>
2021-03-02 01:25:17 +02:00
<!-- NewPage -->
< html lang = "en" >
< head >
<!-- Generated by javadoc -->
< title > AbstractSession (FFmpegKit)< / title >
2022-09-17 20:29:42 +03:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2021-03-02 01:25:17 +02:00
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
2022-09-17 20:29:42 +03:00
< link rel = "stylesheet" type = "text/css" href = "../../../jquery/jquery-ui.css" title = "Style" >
2021-03-02 01:25:17 +02:00
< script type = "text/javascript" src = "../../../script.js" > < / script >
2022-09-17 20:29:42 +03:00
< script type = "text/javascript" src = "../../../jquery/jszip/dist/jszip.min.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jszip-utils/dist/jszip-utils.min.js" > < / script >
<!-- [if IE]>
< script type = "text/javascript" src = "../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js" > < / script >
<![endif]-->
< script type = "text/javascript" src = "../../../jquery/jquery-3.5.1.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jquery-ui.js" > < / script >
2021-03-02 01:25:17 +02:00
< / head >
< body >
< script type = "text/javascript" > < ! - -
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractSession (FFmpegKit)";
}
}
catch(err) {
}
//-->
2022-09-17 20:29:42 +03:00
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10};
2021-03-02 01:25:17 +02:00
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2022-09-17 20:29:42 +03:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');< / script >
2021-03-02 01:25:17 +02:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2022-09-17 20:29:42 +03:00
< header role = "banner" >
< nav role = "navigation" >
< div class = "fixedNav" >
2021-03-02 01:25:17 +02:00
<!-- ========= START OF TOP NAVBAR ======= -->
2022-09-17 20:29:42 +03:00
< div class = "topNav" > < a id = "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 >
2022-09-17 20:29:42 +03:00
< a id = "navbar.top.firstrow" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2022-09-17 20:29:42 +03:00
< li > < a href = "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" id = "allclasses_navbar_top" >
2022-09-17 20:29:42 +03:00
< li > < a href = "../../../allclasses.html" > All Classes< / a > < / li >
< / ul >
< ul class = "navListSearch" >
< li > < label for = "search" > SEARCH:< / label >
< input type = "text" id = "search" value = "search" disabled = "disabled" >
< input type = "reset" id = "reset" value = "reset" disabled = "disabled" >
< / 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 >
2022-09-17 20:29:42 +03:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2021-03-02 01:25:17 +02:00
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
< / ul >
< / div >
2022-09-17 20:29:42 +03:00
< a id = "skip.navbar.top" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a > < / div >
<!-- ========= END OF TOP NAVBAR ========= -->
2022-09-17 20:29:42 +03:00
< / div >
< div class = "navPadding" > < / div >
< script type = "text/javascript" > < ! - -
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
< / script >
< / nav >
< / header >
2021-03-02 01:25:17 +02:00
<!-- ======== START OF CLASS DATA ======== -->
2022-09-17 20:29:42 +03:00
< main role = "main" >
2021-03-02 01:25:17 +02:00
< div class = "header" >
2022-09-17 20:29:42 +03:00
< div class = "subTitle" > < span class = "packageLabelInType" > Package< / span > < a href = "package-summary.html" > com.arthenica.ffmpegkit< / a > < / div >
2021-03-02 01:25:17 +02:00
< h2 title = "Class AbstractSession" class = "title" > Class AbstractSession< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
< li > java.lang.Object< / li >
< li >
< ul class = "inheritance" >
< li > com.arthenica.ffmpegkit.AbstractSession< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Implemented Interfaces:< / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< / dl >
< dl >
< dt > Direct Known Subclasses:< / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "FFmpegSession.html" title = "class in com.arthenica.ffmpegkit" > FFmpegSession< / a > < / code > , < code > < a href = "FFprobeSession.html" title = "class in com.arthenica.ffmpegkit" > FFprobeSession< / a > < / code > , < code > < a href = "MediaInformationSession.html" title = "class in com.arthenica.ffmpegkit" > MediaInformationSession< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< / dl >
< hr >
< pre > public abstract class < span class = "typeNameLabel" > AbstractSession< / span >
extends java.lang.Object
2022-09-17 20:29:42 +03:00
implements < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / pre >
< div class = "block" > Abstract session implementation which includes common features shared by < code > FFmpeg< / code > ,
< code > FFprobe< / code > and < code > MediaInformation< / code > sessions.< / div >
2021-03-02 01:25:17 +02:00
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- =========== FIELD SUMMARY =========== -->
2022-09-17 20:29:42 +03:00
< section role = "region" >
2021-03-02 01:25:17 +02:00
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "field.summary" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
2022-09-17 20:29:42 +03:00
< table class = "memberSummary" >
2021-03-02 01:25:17 +02:00
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "col" > Field< / th >
< th class = "colLast" scope = "col" > Description< / th >
2021-03-02 01:25:17 +02:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected java.lang.String[]< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#arguments" > arguments< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Command arguments as an array.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected java.util.Date< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#createTime" > createTime< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Date and time the session was created.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static int< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT" > DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Defines how long default "getAll" methods wait, in milliseconds.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected java.util.Date< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#endTime" > endTime< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Date and time the session has ended.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#failStackTrace" > failStackTrace< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Stack trace of the error received while trying to execute this session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > protected java.util.concurrent.Future< ?> < / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#future" > future< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Future created for sessions executed asynchronously.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "altColor" >
< td class = "colFirst" > < code > protected < a href = "LogCallback.html" title = "interface in com.arthenica.ffmpegkit" > LogCallback< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#logCallback" > logCallback< / a > < / span > < / code > < / th >
< td class = "colLast" >
< div class = "block" > Session specific log callback.< / div >
2021-03-02 01:25:17 +02:00
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected < a href = "LogRedirectionStrategy.html" title = "enum in com.arthenica.ffmpegkit" > LogRedirectionStrategy< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#logRedirectionStrategy" > logRedirectionStrategy< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Session specific log redirection strategy.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "altColor" >
< td class = "colFirst" > < code > protected java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#logs" > logs< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Log entries received for this session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > protected java.lang.Object< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#logsLock" > logsLock< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Log entry lock.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "altColor" >
< td class = "colFirst" > < code > protected < a href = "ReturnCode.html" title = "class in com.arthenica.ffmpegkit" > ReturnCode< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#returnCode" > returnCode< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Return code for the completed sessions.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > protected long< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#sessionId" > sessionId< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Session identifier.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "altColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > protected static java.util.concurrent.atomic.AtomicLong< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#sessionIdGenerator" > sessionIdGenerator< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Generates unique ids for sessions.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > protected java.util.Date< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#startTime" > startTime< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Date and time the session was started.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr class = "altColor" >
< td class = "colFirst" > < code > protected < a href = "SessionState.html" title = "enum in com.arthenica.ffmpegkit" > SessionState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#state" > state< / a > < / span > < / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > State of the session.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< / section >
2021-03-02 01:25:17 +02:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2022-09-17 20:29:42 +03:00
< section role = "region" >
2021-03-02 01:25:17 +02:00
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "constructor.summary" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
2022-09-17 20:29:42 +03:00
< table class = "memberSummary" >
2021-03-02 01:25:17 +02:00
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
2022-09-17 20:29:42 +03:00
< th class = "colFirst" scope = "col" > Modifier< / th >
< th class = "colSecond" scope = "col" > Constructor< / th >
< th class = "colLast" scope = "col" > Description< / th >
2021-03-02 01:25:17 +02:00
< / tr >
< tr class = "altColor" >
2022-09-17 20:29:42 +03:00
< td class = "colFirst" > < code > protected < / code > < / td >
< th class = "colConstructorName" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#%3Cinit%3E(java.lang.String%5B%5D,com.arthenica.ffmpegkit.LogCallback,com.arthenica.ffmpegkit.LogRedirectionStrategy)" > AbstractSession< / a > < / span > ​ (java.lang.String[] arguments,
< a href = "LogCallback.html" title = "interface in com.arthenica.ffmpegkit" > LogCallback< / a > logCallback,
< a href = "LogRedirectionStrategy.html" title = "enum in com.arthenica.ffmpegkit" > LogRedirectionStrategy< / a > logRedirectionStrategy)< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Creates a new abstract session.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< / section >
2021-03-02 01:25:17 +02:00
<!-- ========== METHOD SUMMARY =========== -->
2022-09-17 20:29:42 +03:00
< section role = "region" >
2021-03-02 01:25:17 +02:00
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "method.summary" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
2022-09-17 20:29:42 +03:00
< table class = "memberSummary" >
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 = "t4" class = "tableTab" > < span > < a href = "javascript:show(8);" > Concrete Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "col" > Method< / th >
< th class = "colLast" scope = "col" > Description< / th >
2021-03-02 01:25:17 +02:00
< / tr >
< tr id = "i0" class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#addLog(com.arthenica.ffmpegkit.Log)" > addLog< / a > < / span > ​ (< a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > log)< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Adds a new log entry for this session.< / div >
< / td >
< / tr >
< tr id = "i1" class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#cancel()" > cancel< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Cancels running the session.< / div >
< / td >
< / tr >
< tr id = "i2" class = "altColor" >
2022-09-17 20:29:42 +03:00
< td class = "colFirst" > < code > java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getAllLogs()" > getAllLogs< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session.< / div >
< / td >
< / tr >
< tr id = "i3" class = "rowColor" >
2022-09-17 20:29:42 +03:00
< td class = "colFirst" > < code > java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getAllLogs(int)" > getAllLogs< / a > < / span > ​ (int waitTimeout)< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session.< / div >
< / td >
< / tr >
< tr id = "i4" class = "altColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getAllLogsAsString()" > getAllLogsAsString< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session as a concatenated string.< / div >
< / td >
< / tr >
< tr id = "i5" class = "rowColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getAllLogsAsString(int)" > getAllLogsAsString< / a > < / span > ​ (int waitTimeout)< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session as a concatenated string.< / div >
< / td >
< / tr >
< tr id = "i6" class = "altColor" >
< td class = "colFirst" > < code > java.lang.String[]< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getArguments()" > getArguments< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns command arguments as an array.< / div >
< / td >
< / tr >
< tr id = "i7" class = "rowColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getCommand()" > getCommand< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns command arguments as a concatenated string.< / div >
< / td >
< / tr >
< tr id = "i8" class = "altColor" >
< td class = "colFirst" > < code > java.util.Date< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getCreateTime()" > getCreateTime< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session create time.< / div >
< / td >
< / tr >
< tr id = "i9" class = "rowColor" >
< td class = "colFirst" > < code > long< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getDuration()" > getDuration< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the time taken to execute this session.< / div >
< / td >
< / tr >
< tr id = "i10" class = "altColor" >
< td class = "colFirst" > < code > java.util.Date< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEndTime()" > getEndTime< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session end time.< / div >
< / td >
< / tr >
< tr id = "i11" class = "rowColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getFailStackTrace()" > getFailStackTrace< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the stack trace of the exception received while executing this session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i12" class = "altColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > java.util.concurrent.Future< ?> < / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getFuture()" > getFuture< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the future created for this session, if it is executed asynchronously.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i13" class = "rowColor" >
< td class = "colFirst" > < code > < a href = "LogCallback.html" title = "interface in com.arthenica.ffmpegkit" > LogCallback< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getLogCallback()" > getLogCallback< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
< div class = "block" > Returns the session specific log callback.< / div >
2021-03-02 01:25:17 +02:00
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i14" class = "altColor" >
< td class = "colFirst" > < code > < a href = "LogRedirectionStrategy.html" title = "enum in com.arthenica.ffmpegkit" > LogRedirectionStrategy< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getLogRedirectionStrategy()" > getLogRedirectionStrategy< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session specific log redirection strategy.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i15" class = "rowColor" >
< td class = "colFirst" > < code > java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getLogs()" > getLogs< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries delivered for this session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i16" class = "altColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getLogsAsString()" > getLogsAsString< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries delivered for this session as a concatenated string.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i17" class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getOutput()" > getOutput< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the log output generated while running the session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i18" class = "altColor" >
< td class = "colFirst" > < code > < a href = "ReturnCode.html" title = "class in com.arthenica.ffmpegkit" > ReturnCode< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getReturnCode()" > getReturnCode< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the return code for this session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i19" class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > long< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getSessionId()" > getSessionId< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the session identifier.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i20" class = "altColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > java.util.Date< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getStartTime()" > getStartTime< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session start time.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i21" class = "rowColor" >
< td class = "colFirst" > < code > < a href = "SessionState.html" title = "enum in com.arthenica.ffmpegkit" > SessionState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getState()" > getState< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the state of the session.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i22" class = "altColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#thereAreAsynchronousMessagesInTransmit()" > thereAreAsynchronousMessagesInTransmit< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns whether there are still asynchronous messages being transmitted for this
session or not.< / div >
< / td >
< / tr >
2022-09-17 20:29:42 +03:00
< tr id = "i23" class = "rowColor" >
2021-03-02 01:25:17 +02:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2022-09-17 20:29:42 +03:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#waitForAsynchronousMessagesInTransmit(int)" > waitForAsynchronousMessagesInTransmit< / a > < / span > ​ (int timeout)< / code > < / th >
< td class = "colLast" >
2021-03-02 01:25:17 +02:00
< div class = "block" > Waits for all asynchronous messages to be transmitted until the given timeout.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "methods.inherited.from.class.java.lang.Object" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / code > < / li >
< / ul >
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "methods.inherited.from.class.com.arthenica.ffmpegkit.Session" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
2022-09-17 20:29:42 +03:00
< h3 > Methods inherited from interface com.arthenica.ffmpegkit.< a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / h3 >
< code > < a href = "Session.html#isFFmpeg()" > isFFmpeg< / a > , < a href = "Session.html#isFFprobe()" > isFFprobe< / a > , < a href = "Session.html#isMediaInformation()" > isMediaInformation< / a > < / code > < / li >
2021-03-02 01:25:17 +02:00
< / ul >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< / section >
2021-03-02 01:25:17 +02:00
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ FIELD DETAIL =========== -->
2022-09-17 20:29:42 +03:00
< section role = "region" >
2021-03-02 01:25:17 +02:00
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "field.detail" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
2022-09-17 20:29:42 +03:00
< a id = "sessionIdGenerator" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > sessionIdGenerator< / h4 >
< pre > protected static final java.util.concurrent.atomic.AtomicLong sessionIdGenerator< / pre >
< div class = "block" > Generates unique ids for sessions.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT< / h4 >
< pre > public static final int DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT< / pre >
< div class = "block" > Defines how long default "getAll" methods wait, in milliseconds.< / div >
< dl >
< dt > < span class = "seeLabel" > See Also:< / span > < / dt >
< dd > < a href = "../../../constant-values.html#com.arthenica.ffmpegkit.AbstractSession.DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT" > Constant Field Values< / a > < / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "sessionId" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > sessionId< / h4 >
< pre > protected final long sessionId< / pre >
< div class = "block" > Session identifier.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "logCallback" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > logCallback< / h4 >
2022-09-17 20:29:42 +03:00
< pre > protected final < a href = "LogCallback.html" title = "interface in com.arthenica.ffmpegkit" > LogCallback< / a > logCallback< / pre >
< div class = "block" > Session specific log callback.< / div >
2021-03-02 01:25:17 +02:00
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "createTime" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createTime< / h4 >
< pre > protected final java.util.Date createTime< / pre >
< div class = "block" > Date and time the session was created.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "startTime" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > startTime< / h4 >
< pre > protected java.util.Date startTime< / pre >
< div class = "block" > Date and time the session was started.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "endTime" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > endTime< / h4 >
< pre > protected java.util.Date endTime< / pre >
< div class = "block" > Date and time the session has ended.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "arguments" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > arguments< / h4 >
< pre > protected final java.lang.String[] arguments< / pre >
< div class = "block" > Command arguments as an array.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "logs" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > logs< / h4 >
2022-09-17 20:29:42 +03:00
< pre > protected final java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > logs< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Log entries received for this session.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "logsLock" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > logsLock< / h4 >
< pre > protected final java.lang.Object logsLock< / pre >
< div class = "block" > Log entry lock.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "future" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > future< / h4 >
< pre > protected java.util.concurrent.Future< ?> future< / pre >
< div class = "block" > Future created for sessions executed asynchronously.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "state" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > state< / h4 >
2022-09-17 20:29:42 +03:00
< pre > protected < a href = "SessionState.html" title = "enum in com.arthenica.ffmpegkit" > SessionState< / a > state< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > State of the session.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "returnCode" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > returnCode< / h4 >
2022-09-17 20:29:42 +03:00
< pre > protected < a href = "ReturnCode.html" title = "class in com.arthenica.ffmpegkit" > ReturnCode< / a > returnCode< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Return code for the completed sessions.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "failStackTrace" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > failStackTrace< / h4 >
< pre > protected java.lang.String failStackTrace< / pre >
< div class = "block" > Stack trace of the error received while trying to execute this session.< / div >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "logRedirectionStrategy" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > logRedirectionStrategy< / h4 >
2022-09-17 20:29:42 +03:00
< pre > protected final < a href = "LogRedirectionStrategy.html" title = "enum in com.arthenica.ffmpegkit" > LogRedirectionStrategy< / a > logRedirectionStrategy< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Session specific log redirection strategy.< / div >
< / li >
< / ul >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< / section >
2021-03-02 01:25:17 +02:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2022-09-17 20:29:42 +03:00
< section role = "region" >
2021-03-02 01:25:17 +02:00
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "constructor.detail" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
2022-09-17 20:29:42 +03:00
< a id = "<init>(java.lang.String[],com.arthenica.ffmpegkit.LogCallback,com.arthenica.ffmpegkit.LogRedirectionStrategy)" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > AbstractSession< / h4 >
2022-09-17 20:29:42 +03:00
< pre > protected AbstractSession​ (java.lang.String[] arguments,
< a href = "LogCallback.html" title = "interface in com.arthenica.ffmpegkit" > LogCallback< / a > logCallback,
< a href = "LogRedirectionStrategy.html" title = "enum in com.arthenica.ffmpegkit" > LogRedirectionStrategy< / a > logRedirectionStrategy)< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Creates a new abstract session.< / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > arguments< / code > - command arguments< / dd >
2022-09-17 20:29:42 +03:00
< dd > < code > logCallback< / code > - session specific log callback< / dd >
2021-03-02 01:25:17 +02:00
< dd > < code > logRedirectionStrategy< / code > - session specific log redirection strategy< / dd >
< / dl >
< / li >
< / ul >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< / section >
2021-03-02 01:25:17 +02:00
<!-- ============ METHOD DETAIL ========== -->
2022-09-17 20:29:42 +03:00
< section role = "region" >
2021-03-02 01:25:17 +02:00
< ul class = "blockList" >
2022-09-17 20:29:42 +03:00
< li class = "blockList" > < a id = "method.detail" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
2022-09-17 20:29:42 +03:00
< a id = "getLogCallback()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLogCallback< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public < a href = "LogCallback.html" title = "interface in com.arthenica.ffmpegkit" > LogCallback< / a > getLogCallback()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getLogCallback()" > Session< / a > < / code > < / span > < / div >
< div class = "block" > Returns the session specific log callback.< / div >
2021-03-02 01:25:17 +02:00
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getLogCallback()" > getLogCallback< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > session specific log callback< / dd >
2021-03-02 01:25:17 +02:00
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getSessionId()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getSessionId< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public long getSessionId()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getSessionId()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the session identifier.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getSessionId()" > getSessionId< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > session identifier< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getCreateTime()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCreateTime< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.Date getCreateTime()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getCreateTime()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session create time.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getCreateTime()" > getCreateTime< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > session create time< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getStartTime()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getStartTime< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.Date getStartTime()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getStartTime()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session start time.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getStartTime()" > getStartTime< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > session start time< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getEndTime()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEndTime< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.Date getEndTime()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getEndTime()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session end time.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getEndTime()" > getEndTime< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > session end time< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getDuration()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDuration< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public long getDuration()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getDuration()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the time taken to execute this session.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getDuration()" > getDuration< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > time taken to execute this session in milliseconds or zero (0) if the session is
not over yet< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getArguments()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getArguments< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String[] getArguments()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getArguments()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns command arguments as an array.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getArguments()" > getArguments< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > command arguments as an array< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getCommand()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCommand< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String getCommand()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getCommand()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns command arguments as a concatenated string.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getCommand()" > getCommand< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > command arguments as a concatenated string< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getAllLogs(int)" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getAllLogs< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > getAllLogs​ (int waitTimeout)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getAllLogs(int)" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session. If there are asynchronous
messages that are not delivered yet, this method waits for them until the given timeout.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getAllLogs(int)" > getAllLogs< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > waitTimeout< / code > - wait timeout for asynchronous messages in milliseconds< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > list of log entries generated for this session< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getAllLogs()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getAllLogs< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > getAllLogs()< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session. If there are asynchronous
messages that are not delivered yet, this method waits for them until
2022-09-17 20:29:42 +03:00
< a href = "#DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT" > < code > DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT< / code > < / a > expires.< / div >
2021-03-02 01:25:17 +02:00
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getAllLogs()" > getAllLogs< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > list of log entries generated for this session< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getLogs()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLogs< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.List< < a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > > getLogs()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getLogs()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries delivered for this session. Note that if there are asynchronous log
messages that are not delivered yet, this method will not wait for them and will return
immediately.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getLogs()" > getLogs< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > list of log entries received for this session< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getAllLogsAsString(int)" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getAllLogsAsString< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String getAllLogsAsString​ (int waitTimeout)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getAllLogsAsString(int)" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session as a concatenated string. If there are
asynchronous messages that are not delivered yet, this method waits for them until
the given timeout.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getAllLogsAsString(int)" > getAllLogsAsString< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > waitTimeout< / code > - wait timeout for asynchronous messages in milliseconds< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > all log entries generated for this session as a concatenated string< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getAllLogsAsString()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getAllLogsAsString< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String getAllLogsAsString()< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries generated for this session as a concatenated string. If there are
asynchronous messages that are not delivered yet, this method waits for them until
2022-09-17 20:29:42 +03:00
< a href = "#DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT" > < code > DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT< / code > < / a > expires.< / div >
2021-03-02 01:25:17 +02:00
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getAllLogsAsString()" > getAllLogsAsString< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > all log entries generated for this session as a concatenated string< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getLogsAsString()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLogsAsString< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String getLogsAsString()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getLogsAsString()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns all log entries delivered for this session as a concatenated string. Note that if
there are asynchronous log messages that are not delivered yet, this method will not wait
for them and will return immediately.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getLogsAsString()" > getLogsAsString< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > list of log entries received for this session< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getOutput()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getOutput< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String getOutput()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getOutput()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the log output generated while running the session.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getOutput()" > getOutput< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > log output generated< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getState()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getState< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public < a href = "SessionState.html" title = "enum in com.arthenica.ffmpegkit" > SessionState< / a > getState()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getState()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the state of the session.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getState()" > getState< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > state of the session< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getReturnCode()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getReturnCode< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public < a href = "ReturnCode.html" title = "class in com.arthenica.ffmpegkit" > ReturnCode< / a > getReturnCode()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getReturnCode()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the return code for this session. Note that return code is only set for sessions
that end with COMPLETED state. If a session is not started, still running or failed then
this method returns null.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getReturnCode()" > getReturnCode< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the return code for this session if the session is COMPLETED, null if session is
not started, still running or failed< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getFailStackTrace()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getFailStackTrace< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.lang.String getFailStackTrace()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getFailStackTrace()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the stack trace of the exception received while executing this session.
< p >
The stack trace is only set for sessions that end with FAILED state. For sessions that has
COMPLETED state this method returns null.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getFailStackTrace()" > getFailStackTrace< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > stack trace of the exception received while executing this session, null if session
is not started, still running or completed< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getLogRedirectionStrategy()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLogRedirectionStrategy< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public < a href = "LogRedirectionStrategy.html" title = "enum in com.arthenica.ffmpegkit" > LogRedirectionStrategy< / a > getLogRedirectionStrategy()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getLogRedirectionStrategy()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns session specific log redirection strategy.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getLogRedirectionStrategy()" > getLogRedirectionStrategy< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > session specific log redirection strategy< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "thereAreAsynchronousMessagesInTransmit()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > thereAreAsynchronousMessagesInTransmit< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public boolean thereAreAsynchronousMessagesInTransmit()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#thereAreAsynchronousMessagesInTransmit()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns whether there are still asynchronous messages being transmitted for this
session or not.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#thereAreAsynchronousMessagesInTransmit()" > thereAreAsynchronousMessagesInTransmit< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > true if there are still asynchronous messages being transmitted, false
otherwise< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "addLog(com.arthenica.ffmpegkit.Log)" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > addLog< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public void addLog​ (< a href = "Log.html" title = "class in com.arthenica.ffmpegkit" > Log< / a > log)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#addLog(com.arthenica.ffmpegkit.Log)" > Session< / a > < / code > < / span > < / div >
< div class = "block" > Adds a new log entry for this session.
< p >
It is invoked internally by < code > FFmpegKit< / code > library methods. Must not be used by user
applications.< / div >
2021-03-02 01:25:17 +02:00
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#addLog(com.arthenica.ffmpegkit.Log)" > addLog< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > log< / code > - log entry< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "getFuture()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getFuture< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public java.util.concurrent.Future< ?> getFuture()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#getFuture()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Returns the future created for this session, if it is executed asynchronously.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#getFuture()" > getFuture< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > future that runs this session asynchronously< / dd >
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "cancel()" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > cancel< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > public void cancel()< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "Session.html#cancel()" > Session< / a > < / code > < / span > < / div >
2021-03-02 01:25:17 +02:00
< div class = "block" > Cancels running the session.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2022-09-17 20:29:42 +03:00
< dd > < code > < a href = "Session.html#cancel()" > cancel< / a > < / code > in interface < code > < a href = "Session.html" title = "interface in com.arthenica.ffmpegkit" > Session< / a > < / code > < / dd >
2021-03-02 01:25:17 +02:00
< / dl >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< a id = "waitForAsynchronousMessagesInTransmit(int)" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > waitForAsynchronousMessagesInTransmit< / h4 >
2022-09-17 20:29:42 +03:00
< pre class = "methodSignature" > protected void waitForAsynchronousMessagesInTransmit​ (int timeout)< / pre >
2021-03-02 01:25:17 +02:00
< div class = "block" > Waits for all asynchronous messages to be transmitted until the given timeout.< / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > timeout< / code > - wait timeout in milliseconds< / dd >
< / dl >
< / li >
< / ul >
< / li >
< / ul >
2022-09-17 20:29:42 +03:00
< / section >
2021-03-02 01:25:17 +02:00
< / li >
< / ul >
< / div >
< / div >
2022-09-17 20:29:42 +03:00
< / main >
2021-03-02 01:25:17 +02:00
<!-- ========= END OF CLASS DATA ========= -->
2022-09-17 20:29:42 +03:00
< footer role = "contentinfo" >
< nav role = "navigation" >
2021-03-02 01:25:17 +02:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2022-09-17 20:29:42 +03:00
< div class = "bottomNav" > < a id = "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 >
2022-09-17 20:29:42 +03:00
< a id = "navbar.bottom.firstrow" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2022-09-17 20:29:42 +03:00
< li > < a href = "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" >
< ul class = "navList" id = "allclasses_navbar_bottom" >
2022-09-17 20:29:42 +03:00
< li > < a href = "../../../allclasses.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 >
2022-09-17 20:29:42 +03:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2021-03-02 01:25:17 +02:00
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
< / ul >
< / div >
2022-09-17 20:29:42 +03:00
< a id = "skip.navbar.bottom" >
2021-03-02 01:25:17 +02:00
<!-- -->
< / a > < / div >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2022-09-17 20:29:42 +03:00
< / nav >
< / footer >
2021-03-02 01:25:17 +02:00
< / body >
< / html >