setTelemetryEnabled method

Future<void> setTelemetryEnabled(
  1. bool enabled
)

Enables or disables the collection of anonymized telemetry data.

The returned Future completes after the change has been made on the platform side.

Implementation

Future<void> setTelemetryEnabled(bool enabled) async {
  return _mapboxGlPlatform.setTelemetryEnabled(enabled);
}