public class Traffic
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Traffic> |
CREATOR |
Constructor and Description |
---|
Traffic(java.util.List<CongestionSpan> conditions,
EstimatedTimeOfArrival estimatedTimeOfArrival) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.util.List<CongestionSpan> |
getConditions() |
EstimatedTimeOfArrival |
getEstimatedTimeOfArrival() |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
public static final android.os.Parcelable.Creator<Traffic> CREATOR
public Traffic(java.util.List<CongestionSpan> conditions, EstimatedTimeOfArrival estimatedTimeOfArrival)
public java.util.List<CongestionSpan> getConditions()
public EstimatedTimeOfArrival getEstimatedTimeOfArrival()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel parcel, int flags)
writeToParcel
in interface android.os.Parcelable