activeDurationMillis property

int get activeDurationMillis

Total active recording time in milliseconds (excludes paused intervals).

The active duration counts only periods when recording was actually running; any paused segments are excluded.

Returns

  • An integer representing active recording time in milliseconds.

See also:

Implementation

int get activeDurationMillis {
  final OperationResult resultString = objectMethod(
    pointerId,
    'LogMetadata',
    'getActiveDurationMillis',
  );
  return resultString['result'];
}