PowerRecord.Sample
public final class PowerRecord.Sample
Represents a single measurement of power. For example, using a power meter when exercising on a stationary bike.
| See also | |
|---|---|
PowerRecord |
Summary
Public methods |
|
|---|---|
boolean |
|
final @NonNull Power |
getPower()Power generated, in |
final @NonNull Instant |
getTime()The point in time when the measurement was taken. |
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
Public methods
getPower
Added in 1.1.0
public final @NonNull Power getPower()
Power generated, in Power unit. Valid range: 0-100000 Watts.