Amplitude

open class Amplitude(configuration: Configuration) : Amplitude

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val sessionId: Long

Inherited properties

Link copied to clipboard
val amplitudeDispatcher: CoroutineDispatcher
Link copied to clipboard
val amplitudeScope: CoroutineScope
Link copied to clipboard
val configuration: Configuration
Link copied to clipboard
val isBuilt: Deferred<Boolean>
Link copied to clipboard
val logger: Logger
Link copied to clipboard
val networkIODispatcher: CoroutineDispatcher
Link copied to clipboard
val retryDispatcher: CoroutineDispatcher
Link copied to clipboard
lateinit var storage: Storage
Link copied to clipboard
val storageIODispatcher: CoroutineDispatcher
Link copied to clipboard
val store: State
Link copied to clipboard
val timeline: Timeline

Functions

Link copied to clipboard
open override fun build(): Deferred<Boolean>
Link copied to clipboard
open override fun createTimeline(): Timeline
Link copied to clipboard
fun onEnterForeground(timestamp: Long)
Link copied to clipboard
fun onExitForeground()
Link copied to clipboard
open override fun reset(): Amplitude

Reset identity:

Inherited functions

Link copied to clipboard
fun add(plugin: Plugin): Amplitude
Link copied to clipboard
fun flush()
Link copied to clipboard
fun groupIdentify(groupType: String, groupName: String, identify: Identify, options: EventOptions?): Amplitude
fun groupIdentify(groupType: String, groupName: String, groupProperties: Map<String, Any?>?, options: EventOptions?): Amplitude
Link copied to clipboard
fun identify(identify: Identify, options: EventOptions?): Amplitude
fun identify(userProperties: Map<String, Any?>?, options: EventOptions?): Amplitude
Link copied to clipboard
fun logEvent(event: BaseEvent): Amplitude
Link copied to clipboard
fun logRevenue(revenue: Revenue): Amplitude
Link copied to clipboard
fun remove(plugin: Plugin): Amplitude
Link copied to clipboard
fun revenue(event: RevenueEvent): Amplitude
fun revenue(revenue: Revenue, options: EventOptions?): Amplitude
Link copied to clipboard
fun setDeviceId(deviceId: String): Amplitude
Link copied to clipboard
fun setGroup(groupType: String, groupName: Array<String>, options: EventOptions?): Amplitude
fun setGroup(groupType: String, groupName: String, options: EventOptions?): Amplitude
Link copied to clipboard
fun setUserId(userId: String?): Amplitude
Link copied to clipboard
fun track(event: BaseEvent, options: EventOptions?, callback: EventCallBack?): Amplitude
fun track(eventType: String, eventProperties: Map<String, Any?>?, options: EventOptions?): Amplitude