StepsCadenceRecord.Sample

class StepsCadenceRecord.Sample


Represents a single measurement of the steps cadence.

Summary

Public constructors

Sample(time: Instant, rate: @FloatRange(from = 0.0, to = 10000.0) Double)

Public functions

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

Public properties

Double

Rate in steps per minute.

Instant

The point in time when the measurement was taken.

Public constructors

Sample

Added in 1.1.0-alpha07
Sample(time: Instant, rate: @FloatRange(from = 0.0, to = 10000.0) Double)
Parameters
time: Instant

The point in time when the measurement was taken.

rate: @FloatRange(from = 0.0, to = 10000.0) Double

Rate in steps per minute. Valid range: 0-10000.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

rate

Added in 1.1.0-alpha07
val rateDouble

Rate in steps per minute. Valid range: 0-10000.

time

Added in 1.1.0-alpha07
val timeInstant

The point in time when the measurement was taken.