TrapApplication

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.

You can set a custom configuration by implementing TrapConfigProvider and setting your class as "trap:config" metadata on the tag.

<application
"android:name" = "com.cursorinsight.trap.TrapApplication"
...
>
<meta-data android:name="trap:config" android:value="com.company.MyConfig" />
</application>

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun onCreate()