Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
Enum Info |
|---|
public enum VehicleType Transport mode enumeration class. |
Enum Value and Description |
|---|
INVALID(-1) Invalid. |
DRIVING(0) Driving. |
WALKING(1) Walking. |
CYCLING(2) Cycling. |
BUS(3) Public transit. |
Qualifier and Type | Method Name and Description |
|---|---|
int | getType() Obtains the transport mode ID. |
static VehicleType | toVehicleType(int mode) Obtains the transport mode based on the specified ID. |
Method |
|---|
public int getType() Obtains the transport mode ID. |
Returns
Type | Description |
|---|---|
int | Transport mode ID. |
Method |
|---|
public static VehicleType toVehicleType(int mode) Obtains the transport mode based on the specified ID. |
Parameters
Name | Description |
|---|---|
mode | Specified ID. |
Returns
Type | Description |
|---|---|
Transport mode. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.