public static final class ParkingLot.Occupancy extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ParkingLot.Occupancy> |
CREATOR
Parcelable creator for this type.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
getAvailable()
Gets total number of available parking spaces.
|
int |
getBucket()
Get occupancy bucket: [0, 10].
|
int |
getPercentage()
Gets occupancy percentage.
|
int |
getProbability()
Gets probability of available parking.
|
int |
getRank()
Gets occupancy rank.
|
Date |
getStartDate()
Gets the date / time when this occupancy information obtained.
|
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ParkingLot.Occupancy> CREATOR
public int getAvailable()
public Date getStartDate()
public int getProbability()
public int getPercentage()
public int getBucket()
public int getRank()
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.