public static enum ZendriveLocationSettingsResult.Error extends java.lang.Enum<ZendriveLocationSettingsResult.Error>
Enum Constant and Description |
---|
AIRPLANE_MODE_ON
Device has airplane mode on.
|
GOOGLE_PLAY_SERVICES_CONNECTION_ERROR
Location settings on the device could not be determined as the application could
not connect to Google Play Services on the device.
|
GOOGLE_PLAY_SERVICES_ERROR_RESULT
Location settings on the device are not set up correctly for Zendrive SDK according
to Google Play services.
|
Modifier and Type | Method and Description |
---|---|
static ZendriveLocationSettingsResult.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveLocationSettingsResult.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveLocationSettingsResult.Error GOOGLE_PLAY_SERVICES_ERROR_RESULT
Google Play Services result
is available for the application to handle this appropriately. See
ZendriveLocationSettingsResult.locationSettingsResultFromGooglePlayService
for guidance on handling this correctly.public static final ZendriveLocationSettingsResult.Error AIRPLANE_MODE_ON
public static final ZendriveLocationSettingsResult.Error GOOGLE_PLAY_SERVICES_CONNECTION_ERROR
public static ZendriveLocationSettingsResult.Error[] values()
for (ZendriveLocationSettingsResult.Error c : ZendriveLocationSettingsResult.Error.values()) System.out.println(c);
public static ZendriveLocationSettingsResult.Error 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