public static final class ParkingBlock.ParkingRestriction extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
ParkingBlock.ParkingRestriction.RestrictionType
Parking restriction types.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ParkingBlock.ParkingRestriction> |
CREATOR
Parcelable creator instance.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
getDuration()
Gets the duration of the restriction.
|
ParkingBlock.DurationUnit |
getDurationUnit()
Gets the units of the restriction duration.
|
ParkingBlock.ParkingRestriction.RestrictionType |
getType()
Gets the type of parking restriction.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<ParkingBlock.ParkingRestriction> CREATOR
public ParkingBlock.DurationUnit getDurationUnit()
public int getDuration()
ParkingBlock.DurationUnit
s.public ParkingBlock.ParkingRestriction.RestrictionType getType()
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.