Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

The Application class you can use in the AndroidManifest.xml tag with the 'android:name' parameter. This custom Application class initializes and manages the data collection automatically.

Link copied to clipboard
data class TrapConfig(var reporter: TrapConfig.Reporter = Reporter(), var defaultDataCollection: TrapConfig.DataCollection = DataCollection(), var lowBatteryDataCollection: TrapConfig.DataCollection = DataCollection( collectCoalescedPointerEvents = false, collectCoalescedStylusEvents = false, collectCoalescedTouchEvents = false, collectors = mutableListOf( TrapMetadataCollector(), TrapCoarseLocationCollector(), TrapPointerCollector(), TrapStylusCollector(), TrapTouchCollector(), TrapBatteryCollector() ) ), var lowDataDataCollection: TrapConfig.DataCollection = DataCollection( collectCoalescedPointerEvents = false, collectCoalescedStylusEvents = false, collectCoalescedTouchEvents = false, collectors = mutableListOf( TrapMetadataCollector(), TrapCoarseLocationCollector(), TrapPointerCollector(), TrapStylusCollector(), TrapTouchCollector(), TrapBatteryCollector() ) ), var queueSize: Int = 8192, var sessionIdFilter: String? = null, var lowBatteryThreshold: Float = 10.0f, var enableDataCollection: Boolean = true)

The global configuration for the library.

Link copied to clipboard

Implement this interface and set the class in the ApplicationManifest.xml under as to provide your own custom configuration for the Trap platform.

Link copied to clipboard

The central manager and orchestrator of the collection platform system.