\doxysection{BMKBus\+Route\+Step类 参考}
\hypertarget{interface_b_m_k_bus_route_step}{}\label{interface_b_m_k_bus_route_step}\index{BMKBusRouteStep@{BMKBusRouteStep}}


{\ttfamily \#include $<$BMKBus\+Route\+Search\+Result.\+h$>$}

类 BMKBus\+Route\+Step 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_bus_route_step}
\end{center}
\end{figure}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_b_m_k_route_search_type_8h_a57c1e61651734be4b6aa8849f2c69298}{BMKMass\+Transit\+Type}} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a157208011e7903486ace7fa6c4a591ee}{step\+Type}}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a35f343562b1f706467c4d8eed8d0910b}{instruction}}
\begin{DoxyCompactList}\small\item\em 当前step的指引文字描述，驾车无该字段 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_bus_route_step_a27bc91387ca1555cbe6d812e970427c3}{distance}}
\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_bus_route_step_a369ef4637ba214bf7b1c090d0ed88b37}{duration}}
\begin{DoxyCompactList}\small\item\em 耗时，单位：秒 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a3dbc65121ad960dd74d27893ce6e00ad}{start\+Name}}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a02a4a35c71d37b4fd6233dc3615f202d}{start\+Address}}
\begin{DoxyCompactList}\small\item\em 起点地址 \end{DoxyCompactList}\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_bus_route_step_a4f9877c0c6076212fe2d73ac0cf73329}{start\+Location}}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a9a23e814ddcdb332ba5229e17470ceee}{end\+Name}}
\begin{DoxyCompactList}\small\item\em 终点名 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a3b5fc0c0da3771ab3ec04225ea5fd59e}{end\+Address}}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_bus_route_step_a9ea53e5462395f522dae5b4230aee9f6}{end\+Location}}
\item 
\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_af98ee57e9bcf5277986b225f662ceb7d}{points}}
\begin{DoxyCompactList}\small\item\em 路段所经过的地理坐标集合 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{interface_b_m_k_bus_route_step_aadba2c2d8246ca6e2ad2e565f3939aff}{points\+Count}}
\begin{DoxyCompactList}\small\item\em 路段所经过的地理坐标集合内点的个数 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_bus_route_step_a4061e2325af67d397be0c18d83538754}{price}}
\item 
BOOL \mbox{\hyperlink{interface_b_m_k_bus_route_step_ad700d3a4790f558a0aab2ad0a172be28}{can\+Ride}}
\begin{DoxyCompactList}\small\item\em 是否可以骑行 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{interface_b_m_k_bus_route_step_a3caeb2cc4d2c85cb363ef611f598997a}{walk\+Type}}
\begin{DoxyCompactList}\small\item\em 步行虚线类型 \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_route_search_type_8h_a2676b907a1946441a8dcce17fff7910b}{BMKMass\+Walk\+Type}} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a9fa9653d341eb912ea47d7153f19032f}{trans\+Type}}
\begin{DoxyCompactList}\small\item\em 换乘类型 \end{DoxyCompactList}\item 
NSArray$<$ \mbox{\hyperlink{interface_b_m_k_bus_transfer_station_info}{BMKBus\+Transfer\+Station\+Info}} \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a21a85bd5f1a472ecdebe29d7425b281c}{station}}
\begin{DoxyCompactList}\small\item\em 换乘站点信息 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_bus_transfer_vehicle_info}{BMKBus\+Transfer\+Vehicle\+Info}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_adf48ebac59aaaa9d84fdf6f4d4a3e34b}{vehicle}}
\begin{DoxyCompactList}\small\item\em 公交路线信息 \end{DoxyCompactList}\item 
NSArray$<$ NSArray$<$ \mbox{\hyperlink{interface_b_m_k_bus_route_step}{BMKBus\+Route\+Step}} \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_bus_route_step_a300ab414a927038070a9c7e7816bdca5}{lower\+Steps}}
\end{DoxyCompactItemize}


\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_bus_route_step_ad700d3a4790f558a0aab2ad0a172be28}\label{interface_b_m_k_bus_route_step_ad700d3a4790f558a0aab2ad0a172be28} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!canRide@{canRide}}
\index{canRide@{canRide}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{canRide}{canRide}}
{\footnotesize\ttfamily -\/ (BOOL) can\+Ride\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否可以骑行 

\Hypertarget{interface_b_m_k_bus_route_step_a27bc91387ca1555cbe6d812e970427c3}\label{interface_b_m_k_bus_route_step_a27bc91387ca1555cbe6d812e970427c3} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!distance@{distance}}
\index{distance@{distance}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{distance}{distance}}
{\footnotesize\ttfamily -\/ (NSInteger) distance\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

距离 跨城方案中， 不包含飞机、货车、大巴的距离，该字段不会被返回 \Hypertarget{interface_b_m_k_bus_route_step_a369ef4637ba214bf7b1c090d0ed88b37}\label{interface_b_m_k_bus_route_step_a369ef4637ba214bf7b1c090d0ed88b37} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!duration@{duration}}
\index{duration@{duration}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{duration}{duration}}
{\footnotesize\ttfamily -\/ (NSInteger) duration\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



耗时，单位：秒 

\Hypertarget{interface_b_m_k_bus_route_step_a3b5fc0c0da3771ab3ec04225ea5fd59e}\label{interface_b_m_k_bus_route_step_a3b5fc0c0da3771ab3ec04225ea5fd59e} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!endAddress@{endAddress}}
\index{endAddress@{endAddress}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{endAddress}{endAddress}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) end\+Address\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

终点地址 步行 \Hypertarget{interface_b_m_k_bus_route_step_a9ea53e5462395f522dae5b4230aee9f6}\label{interface_b_m_k_bus_route_step_a9ea53e5462395f522dae5b4230aee9f6} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!endLocation@{endLocation}}
\index{endLocation@{endLocation}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{endLocation}{endLocation}}
{\footnotesize\ttfamily -\/ (CLLocation\+Coordinate2D) end\+Location\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

终点坐标 格式为\mbox{[}经度,纬度\mbox{]} \Hypertarget{interface_b_m_k_bus_route_step_a9a23e814ddcdb332ba5229e17470ceee}\label{interface_b_m_k_bus_route_step_a9a23e814ddcdb332ba5229e17470ceee} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!endName@{endName}}
\index{endName@{endName}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{endName}{endName}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) end\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



终点名 

\Hypertarget{interface_b_m_k_bus_route_step_a35f343562b1f706467c4d8eed8d0910b}\label{interface_b_m_k_bus_route_step_a35f343562b1f706467c4d8eed8d0910b} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!instruction@{instruction}}
\index{instruction@{instruction}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{instruction}{instruction}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) instruction\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



当前step的指引文字描述，驾车无该字段 

\Hypertarget{interface_b_m_k_bus_route_step_a300ab414a927038070a9c7e7816bdca5}\label{interface_b_m_k_bus_route_step_a300ab414a927038070a9c7e7816bdca5} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!lowerSteps@{lowerSteps}}
\index{lowerSteps@{lowerSteps}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{lowerSteps}{lowerSteps}}
{\footnotesize\ttfamily -\/ (NSArray$<$NSArray$<$\mbox{\hyperlink{interface_b_m_k_bus_route_step}{BMKBus\+Route\+Step}} \texorpdfstring{$\ast$}{*}$>$ \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\ast$}{*}) lower\+Steps\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}

方案中的step 在跨城结果中起点城市和终点城市的step中会返回 \Hypertarget{interface_b_m_k_bus_route_step_af98ee57e9bcf5277986b225f662ceb7d}\label{interface_b_m_k_bus_route_step_af98ee57e9bcf5277986b225f662ceb7d} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!points@{points}}
\index{points@{points}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{points}{points}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}\texorpdfstring{$\ast$}{*}) points\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路段所经过的地理坐标集合 

\Hypertarget{interface_b_m_k_bus_route_step_aadba2c2d8246ca6e2ad2e565f3939aff}\label{interface_b_m_k_bus_route_step_aadba2c2d8246ca6e2ad2e565f3939aff} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!pointsCount@{pointsCount}}
\index{pointsCount@{pointsCount}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{pointsCount}{pointsCount}}
{\footnotesize\ttfamily -\/ (int) points\+Count\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路段所经过的地理坐标集合内点的个数 

\Hypertarget{interface_b_m_k_bus_route_step_a4061e2325af67d397be0c18d83538754}\label{interface_b_m_k_bus_route_step_a4061e2325af67d397be0c18d83538754} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!price@{price}}
\index{price@{price}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{price}{price}}
{\footnotesize\ttfamily -\/ (NSInteger) price\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

有票的最低票价 跨城的step才返回，单位：分 \Hypertarget{interface_b_m_k_bus_route_step_a02a4a35c71d37b4fd6233dc3615f202d}\label{interface_b_m_k_bus_route_step_a02a4a35c71d37b4fd6233dc3615f202d} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!startAddress@{startAddress}}
\index{startAddress@{startAddress}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{startAddress}{startAddress}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) start\+Address\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



起点地址 

\Hypertarget{interface_b_m_k_bus_route_step_a4f9877c0c6076212fe2d73ac0cf73329}\label{interface_b_m_k_bus_route_step_a4f9877c0c6076212fe2d73ac0cf73329} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!startLocation@{startLocation}}
\index{startLocation@{startLocation}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{startLocation}{startLocation}}
{\footnotesize\ttfamily -\/ (CLLocation\+Coordinate2D) start\+Location\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

起点坐标 格式为\mbox{[}经度,纬度\mbox{]} \Hypertarget{interface_b_m_k_bus_route_step_a3dbc65121ad960dd74d27893ce6e00ad}\label{interface_b_m_k_bus_route_step_a3dbc65121ad960dd74d27893ce6e00ad} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!startName@{startName}}
\index{startName@{startName}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{startName}{startName}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) start\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

起点名 步行 \Hypertarget{interface_b_m_k_bus_route_step_a21a85bd5f1a472ecdebe29d7425b281c}\label{interface_b_m_k_bus_route_step_a21a85bd5f1a472ecdebe29d7425b281c} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!station@{station}}
\index{station@{station}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{station}{station}}
{\footnotesize\ttfamily -\/ (NSArray$<$\mbox{\hyperlink{interface_b_m_k_bus_transfer_station_info}{BMKBus\+Transfer\+Station\+Info}} \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\ast$}{*}) station\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



换乘站点信息 

\Hypertarget{interface_b_m_k_bus_route_step_a157208011e7903486ace7fa6c4a591ee}\label{interface_b_m_k_bus_route_step_a157208011e7903486ace7fa6c4a591ee} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!stepType@{stepType}}
\index{stepType@{stepType}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{stepType}{stepType}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_route_search_type_8h_a57c1e61651734be4b6aa8849f2c69298}{BMKMass\+Transit\+Type}}) step\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

路段类型 此类型不包含\+BMK\+\_\+\+TRANSIT\+\_\+\+SUBWAY BMK\+\_\+\+TRANSIT\+\_\+\+BUSLINE 为一体化公交包含地铁 \Hypertarget{interface_b_m_k_bus_route_step_a9fa9653d341eb912ea47d7153f19032f}\label{interface_b_m_k_bus_route_step_a9fa9653d341eb912ea47d7153f19032f} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!transType@{transType}}
\index{transType@{transType}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{transType}{transType}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_route_search_type_8h_a2676b907a1946441a8dcce17fff7910b}{BMKMass\+Walk\+Type}}) trans\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



换乘类型 

\Hypertarget{interface_b_m_k_bus_route_step_adf48ebac59aaaa9d84fdf6f4d4a3e34b}\label{interface_b_m_k_bus_route_step_adf48ebac59aaaa9d84fdf6f4d4a3e34b} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!vehicle@{vehicle}}
\index{vehicle@{vehicle}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{vehicle}{vehicle}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_bus_transfer_vehicle_info}{BMKBus\+Transfer\+Vehicle\+Info}}\texorpdfstring{$\ast$}{*}) vehicle\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



公交路线信息 

\Hypertarget{interface_b_m_k_bus_route_step_a3caeb2cc4d2c85cb363ef611f598997a}\label{interface_b_m_k_bus_route_step_a3caeb2cc4d2c85cb363ef611f598997a} 
\index{BMKBusRouteStep@{BMKBusRouteStep}!walkType@{walkType}}
\index{walkType@{walkType}!BMKBusRouteStep@{BMKBusRouteStep}}
\doxysubsubsection{\texorpdfstring{walkType}{walkType}}
{\footnotesize\ttfamily -\/ (int) walk\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



步行虚线类型 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Search.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_bus_route_search_result_8h}{BMKBus\+Route\+Search\+Result.\+h}}\end{DoxyCompactItemize}
