public enum ZendriveInternalDriveTypePreview extends Enum<ZendriveInternalDriveTypePreview> implements ZendriveValueEnum
Enum Constant and Description |
---|
Bicycle
Traveler was riding a bicycle
|
Bus
Traveler was traveling in a bus
|
Drive
Traveler was traveling in a car
|
Driver
Traveler was traveling in a car as a driver
|
HighSpeedVehicle
Traveler was traveling in a vehicle with high average speed, e.g., train, airplane, etc.
|
Motorcycle
Traveler was riding a motorcycle
|
OffRoad
Traveler was not on road/rail network (e.g., airplane taxiing, boat/ferry, golf cart, etc.)
|
Passenger
Traveler was traveling in a car as a passenger
|
Transit
Traveler was traveling in a fixed route system (train, subway, metro)
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveInternalDriveTypePreview |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveInternalDriveTypePreview[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveInternalDriveTypePreview Drive
public static final ZendriveInternalDriveTypePreview Driver
public static final ZendriveInternalDriveTypePreview Passenger
public static final ZendriveInternalDriveTypePreview Bicycle
public static final ZendriveInternalDriveTypePreview Transit
public static final ZendriveInternalDriveTypePreview HighSpeedVehicle
public static final ZendriveInternalDriveTypePreview Motorcycle
public static final ZendriveInternalDriveTypePreview Bus
public static final ZendriveInternalDriveTypePreview OffRoad
public static ZendriveInternalDriveTypePreview[] values()
for (ZendriveInternalDriveTypePreview c : ZendriveInternalDriveTypePreview.values()) System.out.println(c);
public static ZendriveInternalDriveTypePreview 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 getValue()
ZendriveValueEnum
The value is consistent with the enum values returned by the iOS SDK.
getValue
in interface ZendriveValueEnum