currentPosition property
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:
- getLatestData - Accessing the current data during playback.
Implementation
int get currentPosition {
final OperationResult resultString = objectMethod(
pointerId,
'PlaybackContainer',
'getCurrentPosition',
);
return resultString['result'];
}