NextFTC Suite
Toggle table of contents
0.0.1
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
NextFTC Suite
NextFTC Hardware
/
dev.nextftc.hardware.sensors
/
NextDistanceSensor
/
getDistance
get
Distance
@
JvmOverloads
fun
getDistance
(
unit
:
DistanceUnit
=
DistanceUnit.CM
)
:
Double
Returns the last cached distance converted to the requested
unit
.