MapTelemetryImpl

Concrete implementation of map telemetry.

class MapTelemetryImpl : MapTelemetry

Constructors

MapTelemetryImpl
Link copied to clipboard

Creates a map telemetry instance using appplication context and access token

fun MapTelemetryImpl(appContext: Context, accessToken: String)
MapTelemetryImpl
Link copied to clipboard

Creates a map telemetry instance using telemetry, appplication context and access token

fun MapTelemetryImpl(telemetry: MapboxTelemetry, appContext: Context, accessToken: String)

Functions

disableTelemetrySession
Link copied to clipboard

Disables a started telemetry service for this session only.

open override fun disableTelemetrySession()
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
onAppUserTurnstileEvent
Link copied to clipboard

Register the app user turnstile event

open override fun onAppUserTurnstileEvent()
onPerformanceEvent
Link copied to clipboard

Register a performance event

open override fun onPerformanceEvent(data: Bundle?)
setDebugLoggingEnabled
Link copied to clipboard

Set the debug logging state of telemetry.

open override fun setDebugLoggingEnabled(debugLoggingEnabled: Boolean)
setSessionIdRotationInterval
Link copied to clipboard

Set the telemetry rotation session id interval

open override fun setSessionIdRotationInterval(interval: Int): Boolean
setUserTelemetryRequestState
Link copied to clipboard

Set the end-user selected state to participate or opt-out in telemetry collection.

open override fun setUserTelemetryRequestState(enabled: Boolean)
toString
Link copied to clipboard
open override fun toString(): String