public static enum EnelXNETManager.ScanCallback.Error extends java.lang.Enum<EnelXNETManager.ScanCallback.Error>
| Enum Constant and Description |
|---|
LOCATION_SERVICES_DISABLED
currently all locations services have been disabled by the user
|
LOCATION_SERVICES_NOT_AVAILABLE
current device has no location service available
|
MISSING_PERMISSIONS
required permissions are missing, check them by calling
EnelXNETManager.getMissingPermissions(Context) |
| Modifier and Type | Method and Description |
|---|---|
static EnelXNETManager.ScanCallback.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnelXNETManager.ScanCallback.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnelXNETManager.ScanCallback.Error MISSING_PERMISSIONS
EnelXNETManager.getMissingPermissions(Context)public static final EnelXNETManager.ScanCallback.Error LOCATION_SERVICES_NOT_AVAILABLE
public static final EnelXNETManager.ScanCallback.Error LOCATION_SERVICES_DISABLED
public static EnelXNETManager.ScanCallback.Error[] values()
for (EnelXNETManager.ScanCallback.Error c : EnelXNETManager.ScanCallback.Error.values()) System.out.println(c);
public static EnelXNETManager.ScanCallback.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