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
open String

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-alpha10
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

toString

open fun toString(): String

Public properties

rate

Added in 1.1.0-alpha10
val rateDouble

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

time

Added in 1.1.0-alpha10
val timeInstant

The point in time when the measurement was taken.