\hypertarget{interface_b_m_k_driving_step}{}\doxysection{B\+M\+K\+Driving\+Step类 参考}
\label{interface_b_m_k_driving_step}\index{BMKDrivingStep@{BMKDrivingStep}}


此类表示驾车路线中的一个路段  




{\ttfamily \#import $<$B\+M\+K\+Route\+Search\+Type.\+h$>$}

类 B\+M\+K\+Driving\+Step 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{interface_b_m_k_driving_step}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(N\+S\+String $\ast$entrace\+Instruction) -\/ \mbox{\hyperlink{interface_b_m_k_driving_step_a6b027ea4c67712dc0ec17f3b6b33b054}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 路段入口的指示信息 \end{DoxyCompactList}\item 
(N\+S\+String $\ast$exit\+Instruction) -\/ \mbox{\hyperlink{interface_b_m_k_driving_step_a89fa0e29e56d28ebe16358833eff071b}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 路段出口指示信息 \end{DoxyCompactList}\item 
(int num\+Turns) -\/ \mbox{\hyperlink{interface_b_m_k_driving_step_a88bfb991c1bab3697c3835b1670fe8a1}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 路段需要转弯数 \end{DoxyCompactList}\item 
(N\+S\+Array$<$ N\+S\+Number $\ast$ $>$ $\ast$traffics) -\/ \mbox{\hyperlink{interface_b_m_k_driving_step_a96bc3934c078d323c743a6b663b9057a}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 路段的路况信息，成员为\+N\+S\+Number。0：无数据；1：畅通；2：缓慢；3：拥堵 4\+:严重拥堵 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{interface_b_m_k_driving_step_a32f44a9d4e3bfb73a64a1ac0aa15df7e}{direction}}
\begin{DoxyCompactList}\small\item\em 该路段起点方向值 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_route_node}{B\+M\+K\+Route\+Node}} $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_aaebe4d99c4335c4995d819da68070675}{entrace}}
\begin{DoxyCompactList}\small\item\em 路段入口信息 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_route_node}{B\+M\+K\+Route\+Node}} $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_a18bb9a2457ed65f9c35f2026f45236aa}{exit}}
\begin{DoxyCompactList}\small\item\em 路段出口信息 \end{DoxyCompactList}\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_a70a35973fdc204236c21d44770014989}{instruction}}
\begin{DoxyCompactList}\small\item\em 路段总体指示信息 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_driving_step_a1cfd822349a36e1c6e41fb08f5d7ff2f}{has\+Traffics\+Info}}
\begin{DoxyCompactList}\small\item\em 路段是否有路况信息 \end{DoxyCompactList}\item 
N\+S\+Array$<$ \mbox{\hyperlink{interface_b_m_k_traffic_condition}{B\+M\+K\+Traffic\+Condition}} $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_a3cf3704e6baefd1e5dea592203b9a2be}{traffic\+Condition}}
\begin{DoxyCompactList}\small\item\em 路段的路况详情信息 since 7.\+0.\+1 \end{DoxyCompactList}\item 
int \mbox{\hyperlink{interface_b_m_k_driving_step_a0469b4c874358cd98ec53e5a464c40ff}{road\+Level}}
\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_ad51870e496ba3f1d1bb709790de83825}{road\+Name}}
\begin{DoxyCompactList}\small\item\em 道路名称 Since 6.\+3.\+0 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_step_a8fcc3f47d4974733c698f1fd36ecab34}{leg\+Index}}
\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_step_a6e21d0e5bea8b3994dfd13910e7e9143}{toll}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 分段道路收费，单位：元 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_step_a20234cc40ba9d28ba5820617d2b32ea4}{toll\+Distance}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 分段道路收费路程，单位：米 \end{DoxyCompactList}\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_adac19cb0aae003c7ef2b5323d5fdb5b5}{toll\+Gate\+Name}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 收费站名称 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_route_node}{B\+M\+K\+Route\+Node}} $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_aa1c671864c590cde25b547e6eded17f7}{toll\+Gate\+Location}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 收费站位置 \end{DoxyCompactList}\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_step_a4dd1a3dd871e55bf6e5d89d952dc13a3}{adcodes}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 分段途经的城市编码 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
此类表示驾车路线中的一个路段 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_driving_step_a6b027ea4c67712dc0ec17f3b6b33b054}\label{interface_b_m_k_driving_step_a6b027ea4c67712dc0ec17f3b6b33b054}} 
\index{BMKDrivingStep@{BMKDrivingStep}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$ entrace\+Instruction) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}since 7.\+0.\+1\char`\"{})}]{ }\end{DoxyParamCaption}}



路段入口的指示信息 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a89fa0e29e56d28ebe16358833eff071b}\label{interface_b_m_k_driving_step_a89fa0e29e56d28ebe16358833eff071b}} 
\index{BMKDrivingStep@{BMKDrivingStep}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$ exit\+Instruction) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}since 7.\+0.\+1\char`\"{})}]{ }\end{DoxyParamCaption}}



路段出口指示信息 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a88bfb991c1bab3697c3835b1670fe8a1}\label{interface_b_m_k_driving_step_a88bfb991c1bab3697c3835b1670fe8a1}} 
\index{BMKDrivingStep@{BMKDrivingStep}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily -\/ (int num\+Turns) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}since 7.\+0.\+1\char`\"{})}]{ }\end{DoxyParamCaption}}



路段需要转弯数 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a96bc3934c078d323c743a6b663b9057a}\label{interface_b_m_k_driving_step_a96bc3934c078d323c743a6b663b9057a}} 
\index{BMKDrivingStep@{BMKDrivingStep}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$N\+S\+Number $\ast$$>$$\ast$ traffics) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}since 7.\+0.)}]{1 }\item[{(use \mbox{\hyperlink{interface_b_m_k_driving_step_a3cf3704e6baefd1e5dea592203b9a2be}{traffic\+Condition}} instead\char`\"{})}]{ }\end{DoxyParamCaption}}



路段的路况信息，成员为\+N\+S\+Number。0：无数据；1：畅通；2：缓慢；3：拥堵 4\+:严重拥堵 



\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_driving_step_a4dd1a3dd871e55bf6e5d89d952dc13a3}\label{interface_b_m_k_driving_step_a4dd1a3dd871e55bf6e5d89d952dc13a3}} 
\index{BMKDrivingStep@{BMKDrivingStep}!adcodes@{adcodes}}
\index{adcodes@{adcodes}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{adcodes}{adcodes}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$) adcodes\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



since 7.\+0.\+1 分段途经的城市编码 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a32f44a9d4e3bfb73a64a1ac0aa15df7e}\label{interface_b_m_k_driving_step_a32f44a9d4e3bfb73a64a1ac0aa15df7e}} 
\index{BMKDrivingStep@{BMKDrivingStep}!direction@{direction}}
\index{direction@{direction}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{direction}{direction}}
{\footnotesize\ttfamily -\/ (int) direction\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



该路段起点方向值 

\mbox{\Hypertarget{interface_b_m_k_driving_step_aaebe4d99c4335c4995d819da68070675}\label{interface_b_m_k_driving_step_aaebe4d99c4335c4995d819da68070675}} 
\index{BMKDrivingStep@{BMKDrivingStep}!entrace@{entrace}}
\index{entrace@{entrace}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{entrace}{entrace}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_route_node}{B\+M\+K\+Route\+Node}}$\ast$) entrace\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路段入口信息 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a18bb9a2457ed65f9c35f2026f45236aa}\label{interface_b_m_k_driving_step_a18bb9a2457ed65f9c35f2026f45236aa}} 
\index{BMKDrivingStep@{BMKDrivingStep}!exit@{exit}}
\index{exit@{exit}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{exit}{exit}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_route_node}{B\+M\+K\+Route\+Node}}$\ast$) exit\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路段出口信息 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a1cfd822349a36e1c6e41fb08f5d7ff2f}\label{interface_b_m_k_driving_step_a1cfd822349a36e1c6e41fb08f5d7ff2f}} 
\index{BMKDrivingStep@{BMKDrivingStep}!hasTrafficsInfo@{hasTrafficsInfo}}
\index{hasTrafficsInfo@{hasTrafficsInfo}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{hasTrafficsInfo}{hasTrafficsInfo}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) has\+Traffics\+Info\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路段是否有路况信息 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a70a35973fdc204236c21d44770014989}\label{interface_b_m_k_driving_step_a70a35973fdc204236c21d44770014989}} 
\index{BMKDrivingStep@{BMKDrivingStep}!instruction@{instruction}}
\index{instruction@{instruction}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{instruction}{instruction}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$) instruction\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



路段总体指示信息 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a8fcc3f47d4974733c698f1fd36ecab34}\label{interface_b_m_k_driving_step_a8fcc3f47d4974733c698f1fd36ecab34}} 
\index{BMKDrivingStep@{BMKDrivingStep}!legIndex@{legIndex}}
\index{legIndex@{legIndex}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{legIndex}{legIndex}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) leg\+Index\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

since 7.\+0.\+1 途径点序号 途径点序号为从0开始的整数，用于标识step所属的途径点路段如：若该step属于起点至第一个途径中的路段，则其leg\+\_\+index为0 \mbox{\Hypertarget{interface_b_m_k_driving_step_a0469b4c874358cd98ec53e5a464c40ff}\label{interface_b_m_k_driving_step_a0469b4c874358cd98ec53e5a464c40ff}} 
\index{BMKDrivingStep@{BMKDrivingStep}!roadLevel@{roadLevel}}
\index{roadLevel@{roadLevel}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{roadLevel}{roadLevel}}
{\footnotesize\ttfamily -\/ (int) road\+Level\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

道路类型(Since 5.\+1.\+0) 枚举值：返回0-\/9之间的值 0：高速路 1：城市高速路 2\+: 国道 3：省道 4：县道 5：乡镇村道 6：其他道路 7：九级路 8：航线(轮渡) 9：行人道路 \mbox{\Hypertarget{interface_b_m_k_driving_step_ad51870e496ba3f1d1bb709790de83825}\label{interface_b_m_k_driving_step_ad51870e496ba3f1d1bb709790de83825}} 
\index{BMKDrivingStep@{BMKDrivingStep}!roadName@{roadName}}
\index{roadName@{roadName}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{roadName}{roadName}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$) road\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



道路名称 Since 6.\+3.\+0 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a6e21d0e5bea8b3994dfd13910e7e9143}\label{interface_b_m_k_driving_step_a6e21d0e5bea8b3994dfd13910e7e9143}} 
\index{BMKDrivingStep@{BMKDrivingStep}!toll@{toll}}
\index{toll@{toll}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{toll}{toll}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) toll\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



since 7.\+0.\+1 分段道路收费，单位：元 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a20234cc40ba9d28ba5820617d2b32ea4}\label{interface_b_m_k_driving_step_a20234cc40ba9d28ba5820617d2b32ea4}} 
\index{BMKDrivingStep@{BMKDrivingStep}!tollDistance@{tollDistance}}
\index{tollDistance@{tollDistance}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{tollDistance}{tollDistance}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) toll\+Distance\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



since 7.\+0.\+1 分段道路收费路程，单位：米 

\mbox{\Hypertarget{interface_b_m_k_driving_step_aa1c671864c590cde25b547e6eded17f7}\label{interface_b_m_k_driving_step_aa1c671864c590cde25b547e6eded17f7}} 
\index{BMKDrivingStep@{BMKDrivingStep}!tollGateLocation@{tollGateLocation}}
\index{tollGateLocation@{tollGateLocation}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{tollGateLocation}{tollGateLocation}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_route_node}{B\+M\+K\+Route\+Node}}$\ast$) toll\+Gate\+Location\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



since 7.\+0.\+1 收费站位置 

\mbox{\Hypertarget{interface_b_m_k_driving_step_adac19cb0aae003c7ef2b5323d5fdb5b5}\label{interface_b_m_k_driving_step_adac19cb0aae003c7ef2b5323d5fdb5b5}} 
\index{BMKDrivingStep@{BMKDrivingStep}!tollGateName@{tollGateName}}
\index{tollGateName@{tollGateName}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{tollGateName}{tollGateName}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$) toll\+Gate\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



since 7.\+0.\+1 收费站名称 

\mbox{\Hypertarget{interface_b_m_k_driving_step_a3cf3704e6baefd1e5dea592203b9a2be}\label{interface_b_m_k_driving_step_a3cf3704e6baefd1e5dea592203b9a2be}} 
\index{BMKDrivingStep@{BMKDrivingStep}!trafficCondition@{trafficCondition}}
\index{trafficCondition@{trafficCondition}!BMKDrivingStep@{BMKDrivingStep}}
\doxysubsubsection{\texorpdfstring{trafficCondition}{trafficCondition}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$\mbox{\hyperlink{interface_b_m_k_traffic_condition}{B\+M\+K\+Traffic\+Condition}} $\ast$$>$$\ast$) traffic\+Condition\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



路段的路况详情信息 since 7.\+0.\+1 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+A\+P\+I\+\_\+\+Search.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_route_search_type_8h}{B\+M\+K\+Route\+Search\+Type.\+h}}\end{DoxyCompactItemize}
