Amplitude
fun Amplitude(apiKey: String, context: Context, configs: Configuration.() -> Unit): Amplitude
Content copied to clipboard
constructor function to build amplitude in dsl format with config options Usage: Amplitude("123", context) { this.flushQueueSize = 10 }
NOTE: this method should only be used for Android application.
Return
Amplitude Android Instance
Parameters
apiKey
Api Key
context
Android Context
configs
Configuration