public class ParkingLot extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
ParkingLot.Address
Represents a parking lot address.
|
static class |
ParkingLot.CurrentCapacity
Represents the current capacity (open parking spaces) of a parking lot.
|
static class |
ParkingLot.DynamicContent
Represents frequently changing information about a parking lot.
|
static class |
ParkingLot.GateInformation
Represents information about a parking lot gate.
|
static class |
ParkingLot.GateType
The type of parking lot gate.
|
static class |
ParkingLot.Information
Represents operator and address information for a parking lot.
|
static class |
ParkingLot.OpeningHours
Represents the hours of operation for a parking lot.
|
static class |
ParkingLot.OpeningHoursType
The type of operating hours.
|
static class |
ParkingLot.ParkingDuration
Represents a parking duration information.
|
static class |
ParkingLot.ParkingStatus
The status of parking in the parking lot.
|
static class |
ParkingLot.ParkingTime
Represents a parking time in the pricing information.
|
static class |
ParkingLot.ParkingType
The type of parking structure.
|
static class |
ParkingLot.PaymentMethods
Represents the payment methods supported by a gas station.
|
static class |
ParkingLot.PaymentMethodType
The type of payment methods.
|
static class |
ParkingLot.Photo
Represents a photograph of a parking lot.
|
static class |
ParkingLot.PricingPayment
Represents information on pricing for a parking lot.
|
static class |
ParkingLot.Reservability
Represents the ability of a parking lot to reserve spaces.
|
static class |
ParkingLot.Specification
Parking lot specification, including gate locations for parking lots.
|
static class |
ParkingLot.StaticContent
Represents the static, not frequently changing attributes of a parking lot.
|
static class |
ParkingLot.Tendency
Represents the current tendency for the parking lot to fill or empty.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ParkingLot> |
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) |
double |
getDistance(GeoPoint from)
Get the distance to the parking lot from the specified point.
|
ParkingLot.DynamicContent |
getDynamicContent()
Gets the frequently changing information about the parking lot.
|
GeoPoint |
getGeoPoint()
Gets the location of the parking lot as a {link GeoPoint} object.
|
int |
getId()
Gets the ID of the parking lot.
|
double |
getLatitude()
Gets the latitude of the parking lot.
|
double |
getLongitude()
Gets the longitude of the parking lot.
|
String |
getName()
Gets the name of the parking lot.
|
ParkingLot.StaticContent |
getStaticContent()
Gets the static content, which is information about the parking lot that doesn't change frequently.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ParkingLot> CREATOR
public final int describeContents()
describeContents
in interface Parcelable
public final void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public int getId()
public String getName()
public double getLatitude()
Double.NaN
if information is not available.public double getLongitude()
Double.NaN
if information is not available.public GeoPoint getGeoPoint()
public double getDistance(GeoPoint from)
from
- The point to calculate the distance fromUserPreferences.setSettingUnits(Unit)
.public ParkingLot.StaticContent getStaticContent()
public ParkingLot.DynamicContent getDynamicContent()
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.