of

fun of(heartRate: Float, min: Float, max: Float, startTime: Instant, endTime: Instant): HeartRate

Creates a HeartRate instance with the given parameters.

The created HeartRate instance consists of HeartRateType.SERIES_DATA , which indicates continuous heart rate data.

Return

A HeartRate instance.

Since

1.0.0

Parameters

heartRate

The heart rate value in beats per minute.

min

The lowest heart rate value in this session, in beats per minute.

max

The highest heart rate value in this session, in beats per minute.

startTime

The time when measurement was started, specified as Instant.

endTime

The time when measurement was ended, specified as Instant.

See also

Preferences Submitted

You have successfully updated your cookie preferences.