Trip.TripType
Stay organized with collections
Save and categorize content based on your preferences.
This @interface is deprecated.
Use
TripInfo.TripType
instead. This class will be removed in the next major
release.
Type of trip.
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.
[[["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."],[[["`Trip.TripType` is deprecated and will be removed; use `TripInfo.TripType` instead."],["It defines the type of trip, whether it's exclusive to a vehicle, shared, or unknown."],["Includes constants for `EXCLUSIVE`, `SHARED`, and `UNKNOWN` trip types."]]],["`Trip.TripType` is a deprecated annotation interface representing the type of a trip. It should be replaced by `TripInfo.TripType`. It defines three constants: `EXCLUSIVE` (2), indicating a dedicated vehicle; `SHARED` (1), meaning the trip may share a vehicle; and `UNKNOWN` (0), used for unspecified trip types. The interface also inherits four methods from `java.lang.annotation.Annotation`: `annotationType()`, `equals()`, `hashCode()`, and `toString()`. It will be removed in the next major release.\n"]]