\hypertarget{interface_b_m_k_driving_route_line}{}\doxysection{B\+M\+K\+Driving\+Route\+Line类 参考}
\label{interface_b_m_k_driving_route_line}\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}}


此类表示一条驾车路线  




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

类 B\+M\+K\+Driving\+Route\+Line 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{interface_b_m_k_driving_route_line}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(B\+O\+OL is\+Support\+Traffic) -\/ \mbox{\hyperlink{interface_b_m_k_driving_route_line_aea825cba80ccc3340e1cb786fbe07b1a}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 该路线所在区域是否含有交通流量信息，从2.7.\+0开始，废弃 \end{DoxyCompactList}\item 
(N\+S\+Array$<$ \mbox{\hyperlink{interface_b_m_k_plan_node}{B\+M\+K\+Plan\+Node}} $\ast$ $>$ $\ast$way\+Points) -\/ \mbox{\hyperlink{interface_b_m_k_driving_route_line_a978fc7141b8795b7e45847f13d7a2300}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 路线途经点列表，成员类型为\+B\+M\+K\+Plan\+Node \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_route_line_add3683722075ec45112579d495dfd9d3}{light\+Num}}
\begin{DoxyCompactList}\small\item\em 路线红绿灯个数 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_route_line_af3c2278d3e8c321b7db9116a04449fdc}{congestion\+Metres}}
\begin{DoxyCompactList}\small\item\em 路线拥堵米数，发起请求时需设置参数 driving\+Request\+Traffic\+Type = B\+M\+K\+\_\+\+D\+R\+I\+V\+I\+N\+G\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+T\+R\+A\+F\+F\+I\+C\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+T\+H\+\_\+\+A\+N\+D\+\_\+\+T\+R\+A\+F\+F\+I\+CE 才有值 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_route_line_ac5eb8eb15519351fba1f401ab95e480b}{taxi\+Fares}}
\begin{DoxyCompactList}\small\item\em 路线预估打车费(元)，负数表示无打车费信息 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_route_line_a28994921923fa2d40e9121d25af4ede9}{toll}}
\begin{DoxyCompactList}\small\item\em since 5.\+2.\+0 此路线道路收费，单位：元(此高速费为预估价格，与实际高速收费并不完全一致) \end{DoxyCompactList}\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_route_line_a118edafc2c6760fa30382915078479e1}{tag}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 方案标签，描述路线的特征或类型（如\char`\"{}推荐\char`\"{}、\char`\"{}最短\char`\"{}等） \end{DoxyCompactList}\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_route_line_a237427ee789502b93118a28902897366}{ext\+Duration}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 驾车路线历史耗时（扩展），单位：秒，多个时间戳用逗号分隔 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_route_line_a01a2dccee09bd11d65afef0591d3169e}{suggest\+Departure\+Time}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 建议出发时间，\+U\+N\+I\+X时间戳，单位：秒 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_driving_route_line_abdeac084af6f13467eb0cac16b3cbca4}{toll\+Distance}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 收费路段里程，单位：米 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_driving_route_search_restriction_info}{B\+M\+K\+Driving\+Route\+Search\+Restriction\+Info}} $\ast$ \mbox{\hyperlink{interface_b_m_k_driving_route_line_a311049b08aa107d5604f1f4095b7ed83}{restriction\+Info}}
\begin{DoxyCompactList}\small\item\em since 7.\+0.\+1 限行信息 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
此类表示一条驾车路线 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_driving_route_line_aea825cba80ccc3340e1cb786fbe07b1a}\label{interface_b_m_k_driving_route_line_aea825cba80ccc3340e1cb786fbe07b1a}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily -\/ (B\+O\+OL is\+Support\+Traffic) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}已废弃since 2.\+7.\+0\char`\"{})}]{ }\end{DoxyParamCaption}}



该路线所在区域是否含有交通流量信息，从2.7.\+0开始，废弃 

\mbox{\Hypertarget{interface_b_m_k_driving_route_line_a978fc7141b8795b7e45847f13d7a2300}\label{interface_b_m_k_driving_route_line_a978fc7141b8795b7e45847f13d7a2300}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$\mbox{\hyperlink{interface_b_m_k_plan_node}{B\+M\+K\+Plan\+Node}} $\ast$$>$$\ast$ way\+Points) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}已废弃since 7.\+0.\+1，请使用\+B\+M\+K\+Driving\+Route\+Search\+Result字段下的way\+Points\char`\"{})}]{ }\end{DoxyParamCaption}}



路线途经点列表，成员类型为\+B\+M\+K\+Plan\+Node 



\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_driving_route_line_af3c2278d3e8c321b7db9116a04449fdc}\label{interface_b_m_k_driving_route_line_af3c2278d3e8c321b7db9116a04449fdc}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!congestionMetres@{congestionMetres}}
\index{congestionMetres@{congestionMetres}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{congestionMetres}{congestionMetres}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) congestion\+Metres\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线拥堵米数，发起请求时需设置参数 driving\+Request\+Traffic\+Type = B\+M\+K\+\_\+\+D\+R\+I\+V\+I\+N\+G\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+T\+R\+A\+F\+F\+I\+C\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+A\+T\+H\+\_\+\+A\+N\+D\+\_\+\+T\+R\+A\+F\+F\+I\+CE 才有值 

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



since 7.\+0.\+1 驾车路线历史耗时（扩展），单位：秒，多个时间戳用逗号分隔 

\mbox{\Hypertarget{interface_b_m_k_driving_route_line_add3683722075ec45112579d495dfd9d3}\label{interface_b_m_k_driving_route_line_add3683722075ec45112579d495dfd9d3}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!lightNum@{lightNum}}
\index{lightNum@{lightNum}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{lightNum}{lightNum}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) light\+Num\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线红绿灯个数 

\mbox{\Hypertarget{interface_b_m_k_driving_route_line_a311049b08aa107d5604f1f4095b7ed83}\label{interface_b_m_k_driving_route_line_a311049b08aa107d5604f1f4095b7ed83}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!restrictionInfo@{restrictionInfo}}
\index{restrictionInfo@{restrictionInfo}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{restrictionInfo}{restrictionInfo}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_driving_route_search_restriction_info}{B\+M\+K\+Driving\+Route\+Search\+Restriction\+Info}}$\ast$) restriction\+Info\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



since 7.\+0.\+1 限行信息 

\mbox{\Hypertarget{interface_b_m_k_driving_route_line_a01a2dccee09bd11d65afef0591d3169e}\label{interface_b_m_k_driving_route_line_a01a2dccee09bd11d65afef0591d3169e}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!suggestDepartureTime@{suggestDepartureTime}}
\index{suggestDepartureTime@{suggestDepartureTime}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{suggestDepartureTime}{suggestDepartureTime}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) suggest\+Departure\+Time\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



since 7.\+0.\+1 建议出发时间，\+U\+N\+I\+X时间戳，单位：秒 

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



since 7.\+0.\+1 方案标签，描述路线的特征或类型（如\char`\"{}推荐\char`\"{}、\char`\"{}最短\char`\"{}等） 

\mbox{\Hypertarget{interface_b_m_k_driving_route_line_ac5eb8eb15519351fba1f401ab95e480b}\label{interface_b_m_k_driving_route_line_ac5eb8eb15519351fba1f401ab95e480b}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!taxiFares@{taxiFares}}
\index{taxiFares@{taxiFares}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{taxiFares}{taxiFares}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) taxi\+Fares\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线预估打车费(元)，负数表示无打车费信息 

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



since 5.\+2.\+0 此路线道路收费，单位：元(此高速费为预估价格，与实际高速收费并不完全一致) 

\mbox{\Hypertarget{interface_b_m_k_driving_route_line_abdeac084af6f13467eb0cac16b3cbca4}\label{interface_b_m_k_driving_route_line_abdeac084af6f13467eb0cac16b3cbca4}} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!tollDistance@{tollDistance}}
\index{tollDistance@{tollDistance}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\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 收费路段里程，单位：米 



该类的文档由以下文件生成\+:\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}
