CarOccupantZoneManager.OccupantZoneInfo
public
static
final
class
CarOccupantZoneManager.OccupantZoneInfo
extends Object
implements
Parcelable
java.lang.Object
|
↳ |
android.car.CarOccupantZoneManager.OccupantZoneInfo
|
Represents an occupant zone in a car.
Each occupant does not necessarily represent single person but it is for mapping to one
set of displays. For example, for display located in center rear seat, both left and right
side passengers may use it but it is abstracted as a single occupant zone.
Summary
Inherited constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR
|
int |
PARCELABLE_ELIDE_DUPLICATES
|
int |
PARCELABLE_STABILITY_LOCAL
|
int |
PARCELABLE_STABILITY_VINTF
|
int |
PARCELABLE_WRITE_RETURN_VALUE
|
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
default
int
|
getStability()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
seat
public final int seat
Represents seat assigned for the occupant. In some system, this can have value of
VehicleAreaSeat#SEAT_UNKNOWN
.
Value is VehicleAreaSeat.SEAT_UNKNOWN
, VehicleAreaSeat.SEAT_ROW_1_LEFT
, VehicleAreaSeat.SEAT_ROW_1_CENTER
, VehicleAreaSeat.SEAT_ROW_1_RIGHT
, VehicleAreaSeat.SEAT_ROW_2_LEFT
, VehicleAreaSeat.SEAT_ROW_2_CENTER
, VehicleAreaSeat.SEAT_ROW_2_RIGHT
, VehicleAreaSeat.SEAT_ROW_3_LEFT
, VehicleAreaSeat.SEAT_ROW_3_CENTER
, or VehicleAreaSeat.SEAT_ROW_3_RIGHT
zoneId
public int zoneId
This is an unique id to distinguish each occupant zone.
This can be helpful to distinguish different zones when occupantType
and
seat
are the same for multiple occupant / passenger zones.
This id will remain the same for the same zone across configuration changes like
user switching or display changes
Public methods
describeContents
public int describeContents ()
equals
public boolean equals (Object other)
hashCode
public int hashCode ()
toString
public String toString ()
writeToParcel
public void writeToParcel (Parcel dest,
int flags)
Parameters |
dest |
Parcel |
flags |
int |