[android] Measure TileLoading performance (elapsedMS & responseCode) (#14420)

This commit is contained in:
Osana Babayan
2019-04-18 11:40:58 -04:00
committed by GitHub
parent 8bbd38093c
commit ec8cf0ce8b
4 changed files with 187 additions and 0 deletions

View File

@@ -22,6 +22,16 @@ public class MapboxConstants {
*/
public static final boolean DEFAULT_SET_STORAGE_EXTERNAL = false;
/**
* Key used to switch Tile Download Measuring on/off in AndroidManifest.xml
*/
public static final String KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON = "com.mapbox.MeasureTileDownloadOn";
/**
* Default value for KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON (default is off)
*/
public static final boolean DEFAULT_MEASURE_TILE_DOWNLOAD_ON = false;
/**
* Unmeasured state
*/