enableLogCallback method Null safety
- LogCallback newCallback
Sets a callback to redirect FFmpeg logs. newCallback
is the new log
callback function, use null to disable a previously defined callback.
Implementation
void enableLogCallback(LogCallback newCallback) {
try {
logCallback = newCallback;
} on PlatformException catch (e) {
print('Plugin enableLogCallback error: ${e.message}');
}
}