\hypertarget{protocol_b_m_k_route_search_delegate-p}{}\doxysection{$<$B\+M\+K\+Route\+Search\+Delegate$>$协议 参考}
\label{protocol_b_m_k_route_search_delegate-p}\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}


路线搜索delegate，用于获取路线搜索结果  




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

类 $<$B\+M\+K\+Route\+Search\+Delegate$>$ 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{protocol_b_m_k_route_search_delegate-p}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_adc734b9f771f0a2f600e0dc9da42fc9b}{on\+Get\+Transit\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_aff740d8b95d84e1e66d7bbf52e7514c7}{on\+Get\+Mass\+Transit\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_ad59fd0b2fd5232e5c8f36a30cc8f842f}{on\+Get\+Driving\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_aad8e804e5ef257146f31e7665a2edafa}{on\+Get\+Walking\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_ac9f166a59d8519a106be7ceaac955266}{on\+Get\+Riding\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_a778eae13daae4ab0c666104daa854dda}{on\+Get\+Indoor\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_af98804b3e3376d0f4e3aff7afdd1ee18}{on\+Get\+Integral\+Route\+Result\+:result\+:error\+Code\+:}}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_route_search_delegate-p_a4154e967f26a914da028f29cab4dbaad}{on\+Get\+Bus\+Route\+Result\+:result\+:error\+Code\+:}}
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
路线搜索delegate，用于获取路线搜索结果 

\doxysubsection{函数文档}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_a4154e967f26a914da028f29cab4dbaad}\label{protocol_b_m_k_route_search_delegate-p_a4154e967f26a914da028f29cab4dbaad}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetBusRouteResult:result:errorCode:@{onGetBusRouteResult:result:errorCode:}}
\index{onGetBusRouteResult:result:errorCode:@{onGetBusRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetBusRouteResult:result:errorCode:}{onGetBusRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Bus\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_bus_route_result}{B\+M\+K\+Bus\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

公交路线规划结果（室内+跨城） 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Bus\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_ad59fd0b2fd5232e5c8f36a30cc8f842f}\label{protocol_b_m_k_route_search_delegate-p_ad59fd0b2fd5232e5c8f36a30cc8f842f}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetDrivingRouteResult:result:errorCode:@{onGetDrivingRouteResult:result:errorCode:}}
\index{onGetDrivingRouteResult:result:errorCode:@{onGetDrivingRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetDrivingRouteResult:result:errorCode:}{onGetDrivingRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Driving\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_driving_route_result}{B\+M\+K\+Driving\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回驾乘搜索结果 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Driving\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_a778eae13daae4ab0c666104daa854dda}\label{protocol_b_m_k_route_search_delegate-p_a778eae13daae4ab0c666104daa854dda}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetIndoorRouteResult:result:errorCode:@{onGetIndoorRouteResult:result:errorCode:}}
\index{onGetIndoorRouteResult:result:errorCode:@{onGetIndoorRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetIndoorRouteResult:result:errorCode:}{onGetIndoorRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Indoor\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_indoor_route_result}{B\+M\+K\+Indoor\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回室内路线搜索结果 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Indoor\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_af98804b3e3376d0f4e3aff7afdd1ee18}\label{protocol_b_m_k_route_search_delegate-p_af98804b3e3376d0f4e3aff7afdd1ee18}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetIntegralRouteResult:result:errorCode:@{onGetIntegralRouteResult:result:errorCode:}}
\index{onGetIntegralRouteResult:result:errorCode:@{onGetIntegralRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetIntegralRouteResult:result:errorCode:}{onGetIntegralRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Integral\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_integral_route_result}{B\+M\+K\+Integral\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回一体化路线搜索结果 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Integral\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_aff740d8b95d84e1e66d7bbf52e7514c7}\label{protocol_b_m_k_route_search_delegate-p_aff740d8b95d84e1e66d7bbf52e7514c7}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetMassTransitRouteResult:result:errorCode:@{onGetMassTransitRouteResult:result:errorCode:}}
\index{onGetMassTransitRouteResult:result:errorCode:@{onGetMassTransitRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetMassTransitRouteResult:result:errorCode:}{onGetMassTransitRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Mass\+Transit\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_mass_transit_route_result}{B\+M\+K\+Mass\+Transit\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回公共交通路线检索结果（new） 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Mass\+Transit\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_ac9f166a59d8519a106be7ceaac955266}\label{protocol_b_m_k_route_search_delegate-p_ac9f166a59d8519a106be7ceaac955266}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetRidingRouteResult:result:errorCode:@{onGetRidingRouteResult:result:errorCode:}}
\index{onGetRidingRouteResult:result:errorCode:@{onGetRidingRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetRidingRouteResult:result:errorCode:}{onGetRidingRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Riding\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_riding_route_result}{B\+M\+K\+Riding\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回骑行搜索结果 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Riding\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_adc734b9f771f0a2f600e0dc9da42fc9b}\label{protocol_b_m_k_route_search_delegate-p_adc734b9f771f0a2f600e0dc9da42fc9b}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetTransitRouteResult:result:errorCode:@{onGetTransitRouteResult:result:errorCode:}}
\index{onGetTransitRouteResult:result:errorCode:@{onGetTransitRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetTransitRouteResult:result:errorCode:}{onGetTransitRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Transit\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_transit_route_result}{B\+M\+K\+Transit\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回公交搜索结果 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Transit\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{protocol_b_m_k_route_search_delegate-p_aad8e804e5ef257146f31e7665a2edafa}\label{protocol_b_m_k_route_search_delegate-p_aad8e804e5ef257146f31e7665a2edafa}} 
\index{$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}!onGetWalkingRouteResult:result:errorCode:@{onGetWalkingRouteResult:result:errorCode:}}
\index{onGetWalkingRouteResult:result:errorCode:@{onGetWalkingRouteResult:result:errorCode:}!$<$BMKRouteSearchDelegate$>$@{$<$BMKRouteSearchDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetWalkingRouteResult:result:errorCode:}{onGetWalkingRouteResult:result:errorCode:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Walking\+Route\+Result\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_route_search}{B\+M\+K\+Route\+Search}} $\ast$)}]{searcher }\item[{result\+:(\mbox{\hyperlink{interface_b_m_k_walking_route_result}{B\+M\+K\+Walking\+Route\+Result}} $\ast$)}]{result }\item[{error\+Code\+:(\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}})}]{error }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

返回步行搜索结果 
\begin{DoxyParams}{参数}
{\em searcher} & 搜索对象 \\
\hline
{\em result} & 搜索结果，类型为\+B\+M\+K\+Walking\+Route\+Result \\
\hline
{\em error} & 错误号，\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{参见}
\mbox{\hyperlink{_b_m_k_types_8h_abfa2216c27a365ba24b2c5fc674dbf0d}{B\+M\+K\+Search\+Error\+Code}} 
\end{DoxySeeAlso}


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