MapTelemetryImpl

class MapTelemetryImpl : MapTelemetry

Concrete implementation of map telemetry.

Constructors

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

Creates a map telemetry instance using application context and access token

Functions

disableTelemetrySession
Link copied to clipboard
open override fun disableTelemetrySession()

Disables a started telemetry service for this session only.

getUserTelemetryRequestState
Link copied to clipboard
open fun getUserTelemetryRequestState(): Boolean
onAppUserTurnstileEvent
Link copied to clipboard
open override fun onAppUserTurnstileEvent()

Register the app user turnstile event

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

Register a performance event

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

Set the debug logging enabled states.

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

Set the telemetry rotation session id interval.

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

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