public class BusInfo extends TransitBaseInfo
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
BusInfo() |
protected |
BusInfo(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
int |
getStopNum()
获得途经站点数
|
int |
getType()
获得市内公交的具体类型
|
void |
setStopNum(int stopNum) |
void |
setType(int type) |
void |
writeToParcel(Parcel dest,
int flags) |
getArriveStation, getArriveTime, getDepartureStation, getDepartureTime, getName, setArriveStation, setArriveTime, setDepartureStation, setDepartureTime, setName
public int getType()
public void setType(int type)
public int getStopNum()
public void setStopNum(int stopNum)
public int describeContents()
describeContents
in class TransitBaseInfo
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class TransitBaseInfo