Vehicle.VehicleType
Stay organized with collections
Save and categorize content based on your preferences.
Constant Summary
int |
AUTO
|
The vehicle is a traditional four-wheel
automobile. |
int |
TAXI
|
The vehicle is a taxi. |
int |
TRUCK
|
The vehicle is a truck. |
int |
TWO_WHEELER
|
The vehicle has two wheels; for example, it is a
scooter. |
int |
UNKNOWN
|
The vehicle type is unknown. |
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
AUTO
The vehicle is a traditional four-wheel automobile.
Constant Value: 1
public static final int
TAXI
public static final int
TRUCK
public static final int
TWO_WHEELER
The vehicle has two wheels; for example, it is a scooter.
Constant Value: 4
public static final int
UNKNOWN
The vehicle type is unknown.
Constant Value: 0
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-31 UTC."],[[["`Vehicle.VehicleType` is an annotation that indicates the type of vehicle."],["It defines five constants: `AUTO`, `TAXI`, `TRUCK`, `TWO_WHEELER`, and `UNKNOWN`, representing different vehicle types."],["Each constant is associated with an integer value for easy identification."],["The annotation provides information for journey-sharing and on-demand transportation services."],["It inherits methods from the `java.lang.annotation.Annotation` interface, such as `annotationType()`, `equals()`, `hashCode()`, and `toString()`."]]],[]]