@FunctionalInterface
public interface ExecuteCallback
Represents a callback function to receive an asynchronous execution result.
Modifier and Type | Method and Description |
---|---|
void |
apply(long executionId,
int returnCode)
Called when an asynchronous FFmpeg execution is completed.
|
void apply(long executionId, int returnCode)
Called when an asynchronous FFmpeg execution is completed.
executionId
- id of the execution that completedreturnCode
- return code of the execution completed, 0 on successful completion, 255
on user cancel, other non-zero codes on error