Package com.viam.sdk.core.util
Class Utils
java.lang.Object
com.viam.sdk.core.util.Utils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Value
nativeToValue
(Object obj) sensorReadingsNativeToValue
(Map<String, Object> readings) sensorReadingsValueToNative
(Map<String, com.google.protobuf.Value> readings) static Object
valueToNative
(com.google.protobuf.Value v)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
valueToNative
-
nativeToValue
- Throws:
IllegalArgumentException
-
sensorReadingsNativeToValue
-
sensorReadingsValueToNative
-