yandexMetricaConfig

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

YandexMetricaConfig

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

Example:

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

Since

1.4.0

Return

new instance of YandexMetricaConfig.

Parameters

apiKey

api key for YandexMetrica.

init

initializer block.

See also

YandexMetricaConfig.Builder
YandexMetricaConfig