public static final class ParkingLot.Amenity extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ParkingLot.Amenity> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
Amenity()
Initializes a new instance of
ParkingLot.Amenity . |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
getId()
Gets the amenity ID.
|
Object |
getMetric()
Gets the metric representation of the value (if
ParkingLot.Amenity.getValue() is a number}. |
String |
getName()
Gets the amenity name.
|
Object |
getValue()
Gets the value, can be a boolean or a number.
|
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ParkingLot.Amenity> CREATOR
public Amenity()
ParkingLot.Amenity
.public int getId()
public Object getValue()
public String getName()
public Object getMetric()
ParkingLot.Amenity.getValue()
is a number}.public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.