Data Collection
data class DataCollection(var maxNumberOfLogMessagesPerMinute: Int = 100, var accelerationSamplingPeriodMs: Int = 10, var accelerationMaxReportLatencyMs: Int = 200, var gyroscopeSamplingPeriodMs: Int = 10, var gyroscopeMaxReportLatencyMs: Int = 200, var magnetometerSamplingPeriodMs: Int = 10, var magnetometerMaxReportLatencyMs: Int = 200, var gravitySamplingPeriodMs: Int = 10, var gravityMaxReportLatencyMs: Int = 200, var collectCoalescedPointerEvents: Boolean = true, var collectCoalescedStylusEvents: Boolean = true, var collectCoalescedTouchEvents: Boolean = true, var metadataSubmissionInterval: Long, var collectors: List<TrapDatasource> = mutableListOf(
TrapAccelerometerCollector(),
TrapBluetoothCollector(),
TrapGravityCollector(),
TrapGyroscopeCollector(),
TrapCoarseLocationCollector(),
TrapMagnetometerCollector(),
TrapPointerCollector(),
TrapStylusCollector(),
TrapTouchCollector(),
TrapWiFiCollector(),
TrapBatteryCollector(),
TrapMetadataCollector(),
))
Constructors
Link copied to clipboard
constructor(maxNumberOfLogMessagesPerMinute: Int = 100, accelerationSamplingPeriodMs: Int = 10, accelerationMaxReportLatencyMs: Int = 200, gyroscopeSamplingPeriodMs: Int = 10, gyroscopeMaxReportLatencyMs: Int = 200, magnetometerSamplingPeriodMs: Int = 10, magnetometerMaxReportLatencyMs: Int = 200, gravitySamplingPeriodMs: Int = 10, gravityMaxReportLatencyMs: Int = 200, collectCoalescedPointerEvents: Boolean = true, collectCoalescedStylusEvents: Boolean = true, collectCoalescedTouchEvents: Boolean = true, metadataSubmissionInterval: Long, collectors: List<TrapDatasource> = mutableListOf(
TrapAccelerometerCollector(),
TrapBluetoothCollector(),
TrapGravityCollector(),
TrapGyroscopeCollector(),
TrapCoarseLocationCollector(),
TrapMagnetometerCollector(),
TrapPointerCollector(),
TrapStylusCollector(),
TrapTouchCollector(),
TrapWiFiCollector(),
TrapBatteryCollector(),
TrapMetadataCollector(),
))
Properties
Link copied to clipboard
How long the sensor can cache reported events.
Link copied to clipboard
How frequent the sampling of the given sensor should be.
Link copied to clipboard
Collect coalesced pointer events
Link copied to clipboard
Collect coalesced stylus events
Link copied to clipboard
Collect coalesced touch events
Link copied to clipboard
The list of collectors to start at initialization.
Link copied to clipboard
How long the sensor can cache reported events.
Link copied to clipboard
How frequent the sampling of the given sensor should be.
Link copied to clipboard
How long the sensor can cache reported events.
Link copied to clipboard
How frequent the sampling of the given sensor should be.
Link copied to clipboard
How long the sensor can cache reported events.
Link copied to clipboard
How frequent the sampling of the given sensor should be.
Link copied to clipboard
Maximum number of log messages per collector if the collector uses log throttling
Link copied to clipboard
The time interval metadata events are reported.