HDWeight

Weight of the user at some moment of time.

Properties

Link copied to clipboard
abstract val source: Source

Source of the data.

Link copied to clipboard
abstract val weight: Double

User's weight in kilograms.

Inherited properties

Link copied to clipboard
abstract val id: Long?

Unique identifier of entity. It is null until synchronization with the server.

Link copied to clipboard
abstract val isDeleted: Boolean

true if this entity has been deleted and false otherwise.

Link copied to clipboard
abstract val lastUpdate: Long?

Timestamp in milliseconds of last changes of this entity on the server.

Link copied to clipboard
abstract val measurementTime: Timestamp

Time when data was measured as UNIX timestamp.

Functions

Link copied to clipboard
open fun isEmpty(): Boolean

Check is object an empty (false) weight.

Link copied to clipboard
open fun isSame(other: HDWeight): Boolean

Returns true if weights are the same (i.e. have the same measurement time, weight and source) and false otherwise.