setCurrentPosition method
- int newPosition
Sets the current playback position.
Parameters
newPosition: The new position to set, in milliseconds from the beginning of the log or simulation.
Returns
- The previous playback position in milliseconds.
See also:
- currentPosition - Gets the current playback position.
Implementation
int setCurrentPosition(final int newPosition) {
final OperationResult resultString = objectMethod(
pointerId,
'PlaybackContainer',
'setCurrentPosition',
args: newPosition,
);
return resultString['result'];
}