public class BuslineSearch extends AbsBuslineSearch
构造器和说明 |
---|
BuslineSearch() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
销毁保存的变量及监听事件
|
static BuslineSearch |
getInstance()
获取BuslineSearch单例对象
|
BuslineResult |
getLastBusLines()
获取上一次检索到的公交路线
|
BuslineResult |
getLastBusLinesDetail()
获取上一次检索到的公交路线
|
int |
getTotalBusLinesCount()
获取上一次检索公交路线的总个数
|
int |
getTotalBusStationsCount()
获取上一次检索公交站台的总个数
|
void |
setOnBuslineDetailSearchResultListener(OnBuslineSearchResultListener onBuslineDetailListener)
设置公交路线详情检索监听事件
|
void |
setOnBuslineSearchResultListener(OnBuslineSearchResultListener onBuslineSearchResultListener)
设置公交路线检索监听事件
|
void |
setOnBusStationSearchResultListener(OnBusStationSearchResultListener onBusStationSearchResultListener)
设置公交站台检索监听事件
|
searchBusLine, searchBusLineDetail, searchBusStation
public static BuslineSearch getInstance()
public BuslineResult getLastBusLines()
public BuslineResult getLastBusLinesDetail()
public void setOnBuslineSearchResultListener(OnBuslineSearchResultListener onBuslineSearchResultListener)
onBuslineSearchResultListener
- 公交路线检索回调监听事件public void setOnBusStationSearchResultListener(OnBusStationSearchResultListener onBusStationSearchResultListener)
onBusStationSearchResultListener
- 公交站台检索回调监听事件public void setOnBuslineDetailSearchResultListener(OnBuslineSearchResultListener onBuslineDetailListener)
onBuslineDetailListener
- 公交路线详情检索监听事件public int getTotalBusStationsCount()
public int getTotalBusLinesCount()
public void destroy()