diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-10-31 15:50:11 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-11-01 22:57:10 +0100 |
commit | 7882ce127492495e1e78a080767814b7a70f4da3 (patch) | |
tree | d4ef941a762ff1151a31cff436a014add5f87dd9 /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Telemetry.java | |
parent | 37a4967149a8ff8aca38e3adf56dfa4aa6971798 (diff) | |
download | qtlocation-mapboxgl-7882ce127492495e1e78a080767814b7a70f4da3.tar.gz |
[android] - remove deprecation notices and code
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Telemetry.java')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Telemetry.java | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Telemetry.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Telemetry.java deleted file mode 100644 index 833978d8fd..0000000000 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Telemetry.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.mapbox.mapboxsdk.maps; - -import com.mapbox.android.telemetry.SessionInterval; -import com.mapbox.mapboxsdk.module.telemetry.TelemetryImpl; - -/** - * @deprecated use {@link TelemetryImpl} instead. - */ -@Deprecated -public class Telemetry { - - @Deprecated - public static void initialize() { - // no-op - } - - /** - * Set the debug logging state of telemetry. - * - * @param debugLoggingEnabled true to enable logging - * @deprecated use {@link TelemetryImpl#updateDebugLoggingEnabled(boolean)} instead - */ - @Deprecated - public static void updateDebugLoggingEnabled(boolean debugLoggingEnabled) { - TelemetryImpl.updateDebugLoggingEnabled(debugLoggingEnabled); - } - - /** - * Update the telemetry rotation session id interval - * - * @param interval the selected session interval - * @return true if rotation session id was updated - * @deprecated use {@link TelemetryImpl#setSessionIdRotationInterval(int)} instead - */ - @Deprecated - public static boolean updateSessionIdRotationInterval(SessionInterval interval) { - return TelemetryImpl.updateSessionIdRotationInterval(interval); - } - - /** - * Method to be called when an end-user has selected to participate in telemetry collection. - * - * @deprecated use {@link TelemetryImpl#setUserTelemetryRequestState(boolean)} - * with parameter true instead - */ - @Deprecated - public static void enableOnUserRequest() { - TelemetryImpl.enableOnUserRequest(); - } - - /** - * Method to be called when an end-user has selected to opt-out of telemetry collection. - * - * @deprecated use {@link TelemetryImpl#setUserTelemetryRequestState(boolean)} - * with parameter false instead - */ - @Deprecated - public static void disableOnUserRequest() { - TelemetryImpl.disableOnUserRequest(); - } -}
\ No newline at end of file |