currentPosition property

int get currentPosition

The current playback position, in milliseconds from the start of the log or simulation.

This value can be used to display progress or to seek by passing a new value to setCurrentPosition.

See also:

Implementation

int get currentPosition {
  final OperationResult resultString = objectMethod(
    pointerId,
    'PlaybackContainer',
    'getCurrentPosition',
  );
  return resultString['result'];
}