public class GuidanceStreetLabelData
extends java.lang.Object
implements android.os.Parcelable
GuidanceStreetLabelView.| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<GuidanceStreetLabelData> |
CREATOR
Creator for parcelable.
|
| Constructor and Description |
|---|
GuidanceStreetLabelData(java.lang.String currentStreet,
int backgroundColor)
Constructs a new instance using provided street name and background color.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getBackgroundColor()
Gets background color to be used by
GuidanceStreetLabelView. |
java.lang.String |
getCurrentStreetName()
Gets name of the current street.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<GuidanceStreetLabelData> CREATOR
public GuidanceStreetLabelData(java.lang.String currentStreet,
int backgroundColor)
currentStreet - name of the street.backgroundColor - a color value for a background used by GuidanceStreetLabelView.public java.lang.String getCurrentStreetName()
public int getBackgroundColor()
GuidanceStreetLabelView.public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable