public enum OdometerChangeStatus extends Enum<OdometerChangeStatus>
ServiceClientCallback.onOdometerChange(com.tomtom.business.ubi.commons.api.ServiceClientCallback.OdometerChangeResponse)
Enum Constant and Description |
---|
DENIED_RESPONSE_DELAYED
Setting the odometer took too long.
|
FAILED
Setting the odometer failed for some other reason.
|
OK
Setting the odometer was successful.
|
Modifier and Type | Field and Description |
---|---|
int |
id
The id.
|
Modifier and Type | Method and Description |
---|---|
static OdometerChangeStatus |
byId(int id)
Returns the value that corresponds to the specified id.
|
int |
getId() |
static OdometerChangeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OdometerChangeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdometerChangeStatus OK
public static final OdometerChangeStatus DENIED_RESPONSE_DELAYED
public static final OdometerChangeStatus FAILED
public static OdometerChangeStatus[] values()
for (OdometerChangeStatus c : OdometerChangeStatus.values()) System.out.println(c);
public static OdometerChangeStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public static OdometerChangeStatus byId(int id)
id
-