getLogDurationInSeconds method

int getLogDurationInSeconds(
  1. String logPath
)

Retrieves the duration of a mp4 log file.

Parameters

  • IN logPath The path to the mp4 file.

Returns

  • The log duration in seconds.

Throws

  • An exception if it fails

Implementation

int getLogDurationInSeconds(final String logPath) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RecorderBookmarks',
    'getLogDurationInSeconds',
    args: logPath,
  );

  return resultString['result'];
}