MapboxMetricsReporter
Default implementation of MetricsReporter interface.
Functions
Link copied to clipboard
Adds an event to the metrics reporter when this event occurs.
Link copied to clipboard
Disables metrics reporting and ends mapboxTelemetry session. This method also removes metrics observer and stops background thread used for events dispatching.
Link copied to clipboard
Remove the MetricsObserver.
Link copied to clipboard
Adds a MetricsObserver that will be triggered when a metric event is handled.
Link copied to clipboard
Toggle whether or not you'd like to log mapboxTelemetry events.