MapboxTracing

Allows to control several levels of tracing that could be useful to understand the performance of Mapbox SDKs. For more details about Android tracing refer to relevant section of DEVELOPING.md file.

Functions

Link copied to clipboard

Disable all traces.

Link copied to clipboard
fun enableAll()

Enable all the traces provided by Mapbox SDKs, both native and specific to Android SDKs.

Link copied to clipboard

Enable only traces specific to Android SDKs.

Link copied to clipboard

Enable only native mapbox libraries traces.

Properties

Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
const val MAPBOX_TRACE_ID: String
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
var platformTracingEnabled: Boolean = false