public static enum GeotagResult.Error.Reason extends java.lang.Enum<GeotagResult.Error.Reason>
Enum Constant and Description |
---|
LOCATION_SERVICE_DISABLED
User should turn on the location service on the device.
|
MISSING_ACTIVITY_PERMISSION
User needs to grant activity access permission.
|
MISSING_LOCATION_PERMISSION
User needs to enable location permission.
|
NO_GPS_SIGNAL
Phone has lost connection to GNSS constellation.
|
NOT_TRACKING
Tracking was not started, so no current location is available.
|
RESTART_REQUIRED
App restart required to force sensor connection reset.
|
START_HAS_NOT_FINISHED
SDK started tracking and is in process of calculating current position.
|
Modifier and Type | Method and Description |
---|---|
static GeotagResult.Error.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeotagResult.Error.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeotagResult.Error.Reason MISSING_LOCATION_PERMISSION
public static final GeotagResult.Error.Reason MISSING_ACTIVITY_PERMISSION
public static final GeotagResult.Error.Reason LOCATION_SERVICE_DISABLED
public static final GeotagResult.Error.Reason NOT_TRACKING
public static final GeotagResult.Error.Reason START_HAS_NOT_FINISHED
public static final GeotagResult.Error.Reason NO_GPS_SIGNAL
public static final GeotagResult.Error.Reason RESTART_REQUIRED
public static GeotagResult.Error.Reason[] values()
for (GeotagResult.Error.Reason c : GeotagResult.Error.Reason.values()) System.out.println(c);
public static GeotagResult.Error.Reason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null