VehiclePosition_OccupancyStatus class
The state of passenger occupancy for the vehicle or carriage.
Individual producers may not publish all OccupancyStatus values. Therefore, consumers
must not assume that the OccupancyStatus values follow a linear scale.
Consumers should represent OccupancyStatus values as the state indicated
and intended by the producer. Likewise, producers must use OccupancyStatus values that
correspond to actual vehicle occupancy states.
For describing passenger occupancy levels on a linear scale, see occupancy_percentage
.
This field is still experimental, and subject to change. It may be formally adopted in the future.
- Inheritance
-
- Object
- ProtobufEnum
- VehiclePosition_OccupancyStatus
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → VehiclePosition_OccupancyStatus?
Constants
- CRUSHED_STANDING_ROOM_ONLY → const VehiclePosition_OccupancyStatus
- EMPTY → const VehiclePosition_OccupancyStatus
- FEW_SEATS_AVAILABLE → const VehiclePosition_OccupancyStatus
- FULL → const VehiclePosition_OccupancyStatus
- MANY_SEATS_AVAILABLE → const VehiclePosition_OccupancyStatus
- NO_DATA_AVAILABLE → const VehiclePosition_OccupancyStatus
- NOT_ACCEPTING_PASSENGERS → const VehiclePosition_OccupancyStatus
- NOT_BOARDABLE → const VehiclePosition_OccupancyStatus
- STANDING_ROOM_ONLY → const VehiclePosition_OccupancyStatus
-
values
→ const List<
VehiclePosition_OccupancyStatus>