yandexMetrica

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

YandexMetrica

Initializing the AppMetrica SDK with activating.

Example:

yandexMetrica("api-key") {
...
}

Since

1.4.0

Parameters

apiKey

api key for YandexMetrica.

init

initializer block.

See also

YandexMetricaConfig.Builder
YandexMetricaConfig
YandexMetrica.activate