public enum TripType extends Enum<TripType> implements HasName
| Enum Constant and Description |
|---|
NO_GPS_DEVICE
The device is a special NoGPS device.
|
NO_GPS_OR_SPEED_DEVICE
While a device has this TripType it will not send any positional or speed data.
|
PRIVATE
The device is in private mode and will have it's GPS data hidden.
|
UNKNOWN
The device does not have a specific TripType assigned.
|
| Modifier and Type | Method and Description |
|---|---|
static TripType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static TripType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TripType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TripType UNKNOWN
public static final TripType PRIVATE
public static final TripType NO_GPS_DEVICE
public static final TripType NO_GPS_OR_SPEED_DEVICE
public static TripType[] values()
for (TripType c : TripType.values()) System.out.println(c);
public static TripType 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 getCode()
Copyright © 2023. All rights reserved.