Playback class Sensor Data Source
Represents the operations that can be performed on a DataSource which has playback capabilities (e.g. log, route replay)
Constructors
- Playback.init(int id)
Properties
- currentPosition → int
-
Return the current position (milliseconds from begin/departure/starting point).
no setter
- duration → int
-
The duration of the playback in milliseconds.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- logPath → String
-
Get the log path.
no setter
- maxSpeedMultiplier → double
-
Gets the maximum speed multiplier.
no setter
- minSpeedMultiplier → double
-
Gets the minimum speed multiplier.
no setter
- route → Route?
-
Get the route if it is a simulation data source.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speedMultiplier → double
-
Get the speed multiplier.
no setter
- state → PlayingStatus
-
Return the playback state of this data source.
no setter
Methods
-
getLatestData(
DataType type) → SenseData? - The latest data from the DataSource.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → GemError - Pause the playback.
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
resume(
) → GemError - Resume the playback.
-
setCurrentPosition(
int newPosition) → int - Sets the current position (milliseconds from begin/departure/starting point).
-
setLoopMode(
bool loopMode) → GemError - Sets play log continuously.
-
setSpeedMultiplier(
double speedMultiplier) → GemError - Sets the speed multiplier.
-
step(
) → void - Step to the next frame.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited