from

fun from(value: Int): SensorAccuracy?

Gets sensor accuracy based on provided numerical value.

Return

sensor accuracy as an enum or null if value has no match.

Parameters

value

numerical value representing sensor accuracy.