public static enum EnelXNETManager.StopChargeCallback.Error extends java.lang.Enum<EnelXNETManager.StopChargeCallback.Error>
| Enum Constant and Description |
|---|
CHARGE_NOT_FOUND
if the charge with given id doesn't exist
|
MISSING_PERMISSIONS
required permissions are missing, check them by calling
EnelXNETManager.getMissingPermissions(Context) |
OTHER
another unknown error
|
TIMEOUT
a timeout occurred while trying to start the charge.
|
| Modifier and Type | Method and Description |
|---|---|
static EnelXNETManager.StopChargeCallback.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnelXNETManager.StopChargeCallback.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnelXNETManager.StopChargeCallback.Error MISSING_PERMISSIONS
EnelXNETManager.getMissingPermissions(Context)public static final EnelXNETManager.StopChargeCallback.Error TIMEOUT
public static final EnelXNETManager.StopChargeCallback.Error CHARGE_NOT_FOUND
public static final EnelXNETManager.StopChargeCallback.Error OTHER
public static EnelXNETManager.StopChargeCallback.Error[] values()
for (EnelXNETManager.StopChargeCallback.Error c : EnelXNETManager.StopChargeCallback.Error.values()) System.out.println(c);
public static EnelXNETManager.StopChargeCallback.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