[android] #4294 - JavaDocs for Telemetry classes
This commit is contained in:
@@ -2,6 +2,9 @@ package com.mapbox.mapboxsdk.telemetry;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Constants for Telemetry Metadata
|
||||
*/
|
||||
public class MapboxEvent implements Serializable {
|
||||
public static final int VERSION_NUMBER = 2;
|
||||
public static final String MAPBOX_EVENTS_BASE_URL = "https://api.mapbox.com";
|
||||
|
||||
@@ -46,6 +46,10 @@ import okhttp3.Request;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.Response;
|
||||
|
||||
/**
|
||||
* Singleton control center for managing Telemetry Data.
|
||||
* Primary access is via MapboxEventManager.getMapboxEventManager()
|
||||
*/
|
||||
public class MapboxEventManager {
|
||||
|
||||
private static final String TAG = "MapboxEventManager";
|
||||
@@ -86,7 +90,7 @@ public class MapboxEventManager {
|
||||
* Private Constructor for configuring the single instance per app.
|
||||
*/
|
||||
private MapboxEventManager() {
|
||||
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,6 +8,9 @@ import android.location.LocationManager;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* Listener for Location updates generated by implementing app.
|
||||
*/
|
||||
public class TelemetryLocationReceiver extends BroadcastReceiver {
|
||||
|
||||
private static final String TAG = "TelemLocationReceiver";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package com.mapbox.mapboxsdk.telemetry;
|
||||
|
||||
import android.app.Service;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -9,6 +10,9 @@ import android.os.IBinder;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* Manages Startup and Shutdown of Telemetry resources
|
||||
*/
|
||||
public class TelemetryService extends Service {
|
||||
|
||||
private static final String TAG = "TelemetryService";
|
||||
|
||||
Reference in New Issue
Block a user