Amplitude

fun Amplitude(apiKey: String, configs: Configuration.() -> Unit): Amplitude

constructor function to build amplitude in dsl format with config options Usage: Amplitude("123") { this.flushQueueSize = 10 }

NOTE: this method should only be used for JVM application.

Return

Parameters

apiKey
configs