setStepLength

fun <T : Any> setStepLength(stepLength: T, units: HeightUnits?, cls: Class<T>)

Set step length from value in defined units, for example:

FtInPair stepFtIn = new FtInPair(1, 8); // ~50cm

healbeUser.getBodyMeasurements().setStepLength(stepFtIn, HeightUnits.FT_IN, FtInPair.class)

Parameters

stepLength

value in defined units

units

units to set from

cls

class of units value

Throws

when stepLength not in 30, 90