SpeedRecord.Sample

class SpeedRecord.Sample


Represents a single measurement of the speed, a scalar magnitude.

See also
SpeedRecord

Summary

Public constructors

Sample(time: Instant, speed: Velocity)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Velocity

Speed in Velocity unit.

Instant

The point in time when the measurement was taken.

Public constructors

Sample

Added in 1.1.0-alpha07
Sample(time: Instant, speed: Velocity)
Parameters
time: Instant

The point in time when the measurement was taken.

speed: Velocity

Speed in Velocity unit. Valid range: 0-1000000 meters/sec.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

speed

Added in 1.1.0-alpha07
val speedVelocity

Speed in Velocity unit. Valid range: 0-1000000 meters/sec.

time

Added in 1.1.0-alpha07
val timeInstant

The point in time when the measurement was taken.