public final class DefaultTargets
extends java.lang.Object
STOP! Do not modify this file. Changes will be overwritten during official grading.
Modifier and Type | Method and Description |
---|---|
static void |
disable()
Disables this class's functionality entirely.
|
static void |
disableIndependentArrays()
Disables the getLatitudes and getLongitudes functions.
|
static double[] |
getLatitudes(android.content.Context context)
Gets an array of the targets' latitudes.
|
static double[] |
getLongitudes(android.content.Context context)
Gets an array of the targets' longitudes.
|
static com.google.android.gms.maps.model.LatLng[] |
getPositions(android.content.Context context)
Gets the positions of the default targets as LatLng instances.
|
public static void disable()
Used by test suites once this class is phased out.
public static void disableIndependentArrays()
Used by test suites once independent arrays are phased out.
public static double[] getLatitudes(android.content.Context context)
context
- an Android contextpublic static double[] getLongitudes(android.content.Context context)
context
- an Android contextpublic static com.google.android.gms.maps.model.LatLng[] getPositions(android.content.Context context)
context
- an Android context