public static final class XDIncident.XDLocation extends Object implements Parcelable
XDIncident.| Modifier and Type | Class and Description |
|---|---|
static class |
XDIncident.XDLocation.Segment
Road segment.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<XDIncident.XDLocation> |
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) |
String |
getCountryCode()
The country code for the
XDIncident.XDLocation. |
XDIncident.IncidentDirection |
getDirection()
The direction of the
XDIncident. |
List<XDIncident.XDLocation.Segment> |
getSegments()
A read-only
List of road segments impacted by the XDIncident. |
int |
hashCode() |
boolean |
isBiDirectional()
A value indication whether the
XDIncident is impacting both directions of the road
or only one direction. |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<XDIncident.XDLocation> CREATOR
public String getCountryCode()
XDIncident.XDLocation.public XDIncident.IncidentDirection getDirection()
XDIncident. This value is only meaningful if XDIncident.XDLocation.isBiDirectional()
returns false.public boolean isBiDirectional()
XDIncident is impacting both directions of the road
or only one direction.true if the XDIncident if both directions are impacted, false otherwise.public List<XDIncident.XDLocation.Segment> getSegments()
List of road segments impacted by the XDIncident.List of road segments.public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface ParcelableCopyright © 2013-2016 INRIX, Inc. All Rights Reserved.