public class Telemetry extends Object
Modifier and Type | Method and Description |
---|---|
static void |
disableOnUserRequest()
Method to be called when an end-user has selected to opt-out of telemetry collection.
|
static void |
enableOnUserRequest()
Method to be called when an end-user has selected to participate in telemetry collection.
|
static void |
initialize() |
static void |
updateDebugLoggingEnabled(boolean debugLoggingEnabled)
Set the debug logging state of telemetry.
|
static boolean |
updateSessionIdRotationInterval(SessionInterval interval)
Update the telemetry rotation session id interval
|
public static void initialize()
public static void updateDebugLoggingEnabled(boolean debugLoggingEnabled)
debugLoggingEnabled
- true to enable loggingpublic static boolean updateSessionIdRotationInterval(SessionInterval interval)
interval
- the selected session intervalpublic static void enableOnUserRequest()
public static void disableOnUserRequest()
© 2015–2018 Mapbox. All rights reserved.