SkinTemperatureRecord.Delta


public final class SkinTemperatureRecord.Delta


Represents a skin temperature delta entry of SkinTemperatureRecord.

Throws
kotlin.IllegalArgumentException

if delta is not within MIN_DELTA_TEMPERATURE and MAX_DELTA_TEMPERATURE, both inclusive.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull TemperatureDelta

delta temperature difference.

final @NonNull Instant

The point in time when the measurement was taken.

int
@NonNull String

Public constructors

Delta

Added in 1.1.0-alpha10
public Delta(@NonNull Instant time, @NonNull TemperatureDelta delta)
Parameters
@NonNull Instant time

The point in time when the measurement was taken.

@NonNull TemperatureDelta delta

delta temperature difference. Valid range: -30 to 30 Celsius degrees.

Public methods

equals

public boolean equals(Object other)

getDelta

Added in 1.1.0-alpha10
public final @NonNull TemperatureDelta getDelta()

delta temperature difference. Valid range: -30 to 30 Celsius degrees.

getTime

Added in 1.1.0-alpha10
public final @NonNull Instant getTime()

The point in time when the measurement was taken.

hashCode

public int hashCode()

toString

public @NonNull String toString()