setPressure

fun setPressure(systolic: Int, diastolic: Int)

Set user's pressure parameters.

Parameters

systolic

default systolic pressure

diastolic

default diastolic pressure

Throws

when systolic pressure not in 60, 180 or diastolic pressure not in 40, 100