TripInfo.TripType
Constant Summary
int |
EXCLUSIVE
|
The trip is exclusive to a vehicle. |
int |
SHARED
|
The trip may share a vehicle with other
trips. |
int |
UNKNOWN
|
Default, used for unspecified or unrecognized
trip types. |
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
EXCLUSIVE
The trip is exclusive to a vehicle.
Constant Value: 2
public static final int
SHARED
The trip may share a vehicle with other trips.
Constant Value: 1
public static final int
UNKNOWN
Default, used for unspecified or unrecognized trip types.
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.
[null,null,["Last updated 2024-07-31 UTC."],[[["`TripInfo.TripType` is an annotation indicating the type of trip, such as exclusive or shared."],["It defines three constants: `EXCLUSIVE`, `SHARED`, and `UNKNOWN` to represent different trip types."],["`EXCLUSIVE` signifies a trip dedicated to a single vehicle, while `SHARED` indicates potential vehicle sharing with other trips."],["`UNKNOWN` serves as the default for unspecified or unrecognized trip types."]]],[]]