Trap Config
constructor(reporter: TrapConfig.Reporter = Reporter(), defaultDataCollection: TrapConfig.DataCollection = DataCollection(), lowBatteryDataCollection: TrapConfig.DataCollection = DataCollection(
collectCoalescedPointerEvents = false,
collectCoalescedStylusEvents = false,
collectCoalescedTouchEvents = false,
collectors = mutableListOf(
TrapMetadataCollector(),
TrapCoarseLocationCollector(),
TrapPointerCollector(),
TrapStylusCollector(),
TrapTouchCollector(),
TrapBatteryCollector()
)
), lowDataDataCollection: TrapConfig.DataCollection = DataCollection(
collectCoalescedPointerEvents = false,
collectCoalescedStylusEvents = false,
collectCoalescedTouchEvents = false,
collectors = mutableListOf(
TrapMetadataCollector(),
TrapCoarseLocationCollector(),
TrapPointerCollector(),
TrapStylusCollector(),
TrapTouchCollector(),
TrapBatteryCollector()
)
), queueSize: Int = 8192, sessionIdFilter: String? = null, lowBatteryThreshold: Float = 10.0f, enableDataCollection: Boolean = true)