init

fun init(context: Context, accessToken: String, userAgent: String)

Initialize mapboxTelemetry that need to send event to Mapbox Telemetry server.

Parameters

context

Android context

accessToken

Mapbox access token

userAgent

Use agent indicate source of metrics