SensorConfig

data class SensorConfig(val sensorType: Int, val samplingUs: Int = SensorManager.SENSOR_DELAY_NORMAL)(source)

Décrit un capteur et sa fréquence d'échantillonnage.

Presets :

Personnalisé :

val config = SensorConfig(
sensorType = Sensor.TYPE_GRAVITY,
samplingUs = SensorManager.SENSOR_DELAY_NORMAL
)

Constructors

Link copied to clipboard
constructor(sensorType: Int, samplingUs: Int = SensorManager.SENSOR_DELAY_NORMAL)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard