getLogDurationInSeconds method
- String logPath
Returns the duration of an MP4 log file, in seconds.
Parameters
logPath: The path to the MP4 file.
Returns
- The duration of the log in seconds.
Implementation
int getLogDurationInSeconds(final String logPath) {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderBookmarks',
'getLogDurationInSeconds',
args: logPath,
);
return resultString['result'];
}