[android] #4294 - JavaDocs for Telemetry classes

This commit is contained in:
Brad Leege
2016-03-18 12:47:39 -04:00
parent 0e201eb23d
commit 5f89c1ab34
4 changed files with 15 additions and 1 deletions

View File

@@ -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";

View File

@@ -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();
}
/**

View File

@@ -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";

View File

@@ -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";