Package com.amplitude.android

Types

Link copied to clipboard
open class Amplitude(configuration: Configuration) : Amplitude
Link copied to clipboard
open class Configuration @JvmOverloads constructor(apiKey: String, context: Context, flushQueueSize: Int, flushIntervalMillis: Int, instanceName: String, optOut: Boolean, storageProvider: StorageProvider, loggerProvider: LoggerProvider, minIdLength: Int?, partnerId: String?, callback: EventCallBack?, flushMaxRetries: Int, useBatch: Boolean, serverZone: ServerZone, serverUrl: String?, plan: Plan?, ingestionMetadata: IngestionMetadata?, useAdvertisingIdForDeviceId: Boolean, useAppSetIdForDeviceId: Boolean, newDeviceIdPerInstall: Boolean, trackingOptions: TrackingOptions, enableCoppaControl: Boolean, locationListening: Boolean, flushEventsOnClose: Boolean, minTimeBetweenSessionsMillis: Long, trackingSessionEvents: Boolean, identifyBatchIntervalMillis: Long, identifyInterceptStorageProvider: StorageProvider) : Configuration
Link copied to clipboard
data class EventQueueMessage(event: BaseEvent, inForeground: Boolean)
Link copied to clipboard
class Timeline : Timeline
Link copied to clipboard
class TrackingOptions

Functions

Link copied to clipboard
fun Amplitude(apiKey: String, context: Context, configs: Configuration.() -> Unit): Amplitude

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