Package-level declarations

Types

Link copied to clipboard

Assistant class for analytic processing in Kotlin.

Functions

Link copied to clipboard
fun YandexMetricaConfig.Builder.withLogs(isDebugMode: Boolean = true): YandexMetricaConfig.Builder

Enable AppMetrica logging in debug mode. Should be called before activation.

Link copied to clipboard
fun YandexMetricaConfig.Builder.withSessionTimeout(duration: Duration): YandexMetricaConfig.Builder

By default, the session times out if the app is inactive for YandexMetricaDefaultValues.DEFAULT_SESSION_TIMEOUT_SECONDS seconds. To change this time limit, pass the int sessionTimeoutSeconds method your time limit in seconds.

Link copied to clipboard
inline fun Context.yandexMetrica(apiKey: String, init: YandexMetricaConfig.Builder.() -> YandexMetricaConfig.Builder)

Initializing the AppMetrica SDK with activating.

Link copied to clipboard
inline fun yandexMetricaConfig(apiKey: String, init: YandexMetricaConfig.Builder.() -> YandexMetricaConfig.Builder): YandexMetricaConfig

Creates the new instance of YandexMetricaConfig.Builder with api key.