FFprobeSessionCompleteCallback typedef

FFprobeSessionCompleteCallback = void Function(FFprobeSession session)

Callback function that is invoked when an asynchronous FFprobe session has ended. Session has either SessionState.completed or SessionState.failed state when the callback is invoked. If it has SessionState.completed state, "ReturnCode" should be checked to see the execution result. If "getState" returns SessionState.failed then "getFailStackTrace" should be used to get the failure reason.

Implementation

typedef FFprobeSessionCompleteCallback = void Function(FFprobeSession session);