android-components / mozilla.components.service.glean.config / Configuration

Configuration

data class Configuration (source)

The Configuration class describes how to configure the Glean.

Constructors

<init>

Configuration(serverEndpoint: String = "https://incoming.telemetry.mozilla.org", userAgent: String = "Glean/${BuildConfig.LIBRARY_VERSION} (Android)", connectionTimeout: Int = 10000, readTimeout: Int = 30000)

The Configuration class describes how to configure the Glean.

Properties

connectionTimeout

val connectionTimeout: Int

the timeout, in milliseconds, to use when connecting to the serverEndpoint

readTimeout

val readTimeout: Int

the timeout, in milliseconds, to use when connecting to the serverEndpoint

serverEndpoint

val serverEndpoint: String

the server pings are sent to

userAgent

val userAgent: String

the user agent used when sending pings