public class SpeedLimit extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<SpeedLimit> |
CREATOR
Parcelable creator for
SpeedLimit . |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
getFrcLevel()
Get the FRC level of the road.
|
String |
getRoadName()
Get the name of the road.
|
int |
getSnapPrecision()
The precision in which the original point and heading were able to snap to the returned road.
|
int |
getSpeedLimit()
Get the posted speed limit.
|
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<SpeedLimit> CREATOR
SpeedLimit
.public int getSpeedLimit()
-1
if unknown or not requested. Values are in MPH or KM/H
depending upon the requested units.public String getRoadName()
null
if unknown or not requested.public int getFrcLevel()
0
if unknown or not requested.public int getSnapPrecision()
0
if unknown.public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public int describeContents()
describeContents
in interface Parcelable
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.