Added in API level 34
Builder
class Builder
Builder class for ExerciseLap
Summary
Public methods | |
---|---|
ExerciseLap |
build() Builds |
ExerciseLap.Builder |
Sets the length of this lap |
Public constructors
Public methods
build
Added in API level 34
fun build(): ExerciseLap
Builds ExerciseLap
instance.
Return | |
---|---|
ExerciseLap |
This value cannot be null . |
setLength
Added in API level 34
fun setLength(length: Length): ExerciseLap.Builder
Sets the length of this lap
Parameters | |
---|---|
length |
Length: Length of the lap, in Length unit. Optional field. Valid range: 0-1000000 meters. This value cannot be null . |
Return | |
---|---|
ExerciseLap.Builder |
This value cannot be null . |