disable

fun disable()

Disables metrics reporting and ends mapboxTelemetry session. This method also removes metrics observer and stops background thread used for events dispatching.