Playback

class Playback(address: Long) : GemNativeObj

IPlayback interface. It represents the operations that can be performed on a ISenseDataSource which has playback capabilities (e.g. log, route replay)

Constructors

Link copied to clipboard
constructor(address: Long)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Current position (milliseconds from begin)

Link copied to clipboard

Playback duration (milliseconds).

Link copied to clipboard

Max speed multiplier.

Link copied to clipboard

Min speed multiplier.

Link copied to clipboard

Speed multiplier. Can have values between 0.f and getMaxSpeedMultiplier

Link copied to clipboard

Playback state

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

Gets the coordinates for the last position.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
external fun pause(): Int

Pause the playback.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun resume(): Int

Resume the playback.

Link copied to clipboard
external fun step()

Step through the log data by data