SensorMetadata

data class SensorMetadata(    val name: String,     val vendor: String,     val maximumRange: Float,     val resolution: Float,     val minimumDelay: Int,     val version: Int,     val type: Int,     val unit: String?)

Serializable class containing information about a sensor.

Constructors

Link copied to clipboard
fun SensorMetadata(    name: String,     vendor: String,     maximumRange: Float,     resolution: Float,     minimumDelay: Int,     version: Int,     type: Int,     unit: String?)

Properties

Link copied to clipboard
val maximumRange: Float

Maximum Range of the sensor based on its unit

Link copied to clipboard
val minimumDelay: Int

Minimum delay on the sensor reading

Link copied to clipboard
val name: String

Sensor Name

Link copied to clipboard
val resolution: Float

Resolution of the sensor based on its unit

Link copied to clipboard
val type: Int

Android type identifier for the sensor

Link copied to clipboard
val unit: String?

The unit of measurement of the sensor

Link copied to clipboard
val vendor: String

Sensor Vendor

Link copied to clipboard
val version: Int

Version of the sensor