Package com.baidu.navisdk.adapter.struct
Class BNRouteDetail
- java.lang.Object
-
- com.baidu.navisdk.adapter.struct.BNRouteDetail
-
public class BNRouteDetail extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BNRouteDetail.RoadCondition
-
Field Summary
Fields Modifier and Type Field Description static <any>
CREATOR
-
Constructor Summary
Constructors Constructor Description BNRouteDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
java.lang.String
getDescription()
int
getIconId()
int
getIndex()
java.util.List<BNRouteDetail.RoadCondition>
getRoadConditions()
void
setDescription(java.lang.String description)
void
setIconId(int iconId)
void
setIndex(int index)
void
setRoadConditions(java.util.List<BNRouteDetail.RoadCondition> roadConditions)
java.lang.String
toString()
void
writeToParcel(Parcel dest, int flags)
-
-
-
Method Detail
-
getIndex
public int getIndex()
- Returns:
- 路段索引
-
setIndex
public void setIndex(int index)
-
getIconId
public int getIconId()
- Returns:
- 图片ID
-
setIconId
public void setIconId(int iconId)
-
getDescription
public java.lang.String getDescription()
- Returns:
- 路段描述
-
setDescription
public void setDescription(java.lang.String description)
-
describeContents
public int describeContents()
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
-
getRoadConditions
public java.util.List<BNRouteDetail.RoadCondition> getRoadConditions()
- Returns:
- 路况信息
-
setRoadConditions
public void setRoadConditions(java.util.List<BNRouteDetail.RoadCondition> roadConditions)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-