\hypertarget{protocol_b_m_k_walk_cycle_location_service_delegate-p}{}\doxysection{$<$B\+M\+K\+Walk\+Cycle\+Location\+Service\+Delegate$>$协议 参考}
\label{protocol_b_m_k_walk_cycle_location_service_delegate-p}\index{$<$BMKWalkCycleLocationServiceDelegate$>$@{$<$BMKWalkCycleLocationServiceDelegate$>$}}


{\ttfamily \#import $<$B\+M\+K\+Walk\+Cycle\+Navigation\+Delegates.\+h$>$}

类 $<$B\+M\+K\+Walk\+Cycle\+Location\+Service\+Delegate$>$ 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{protocol_b_m_k_walk_cycle_location_service_delegate-p}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_walk_cycle_location_service_delegate-p_a713f6a1c2e1bbdde84be7757431b8900}{do\+Request\+Always\+Authorization\+:}}
\begin{DoxyCompactList}\small\item\em 为了适配app store关于新的后台定位的审核机制（app store要求如果开发者只配置了使用期间定位，则代码中不能出现申请后台定位的逻辑），当开发者在plist配置\+N\+S\+Location\+Always\+Usage\+Description或者\+N\+S\+Location\+Always\+And\+When\+In\+Use\+Usage\+Description时，需要在该delegate中调用后台定位api：\mbox{[}location\+Manager request\+Always\+Authorization\mbox{]}。开发者如果只配置了\+N\+S\+Location\+When\+In\+Use\+Usage\+Description，且只有使用期间的定位需求，则无需在delegate中实现逻辑。 \end{DoxyCompactList}\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_walk_cycle_location_service_delegate-p_a51ed19c4bec0227983c94a11ce520486}{on\+Location\+Service\+Error\+:}}
\end{DoxyCompactItemize}


\doxysubsection{函数文档}
\mbox{\Hypertarget{protocol_b_m_k_walk_cycle_location_service_delegate-p_a713f6a1c2e1bbdde84be7757431b8900}\label{protocol_b_m_k_walk_cycle_location_service_delegate-p_a713f6a1c2e1bbdde84be7757431b8900}} 
\index{$<$BMKWalkCycleLocationServiceDelegate$>$@{$<$BMKWalkCycleLocationServiceDelegate$>$}!doRequestAlwaysAuthorization:@{doRequestAlwaysAuthorization:}}
\index{doRequestAlwaysAuthorization:@{doRequestAlwaysAuthorization:}!$<$BMKWalkCycleLocationServiceDelegate$>$@{$<$BMKWalkCycleLocationServiceDelegate$>$}}
\doxysubsubsection{\texorpdfstring{doRequestAlwaysAuthorization:}{doRequestAlwaysAuthorization:}}
{\footnotesize\ttfamily -\/ (void) do\+Request\+Always\+Authorization\+: \begin{DoxyParamCaption}\item[{(\char`\"{}定位权限需要开发者主动申请\char`\"{})}]{D\+E\+P\+R\+E\+C\+A\+T\+E\+D\+\_\+\+M\+S\+G\+\_\+\+A\+T\+T\+R\+I\+B\+U\+TE }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}



为了适配app store关于新的后台定位的审核机制（app store要求如果开发者只配置了使用期间定位，则代码中不能出现申请后台定位的逻辑），当开发者在plist配置\+N\+S\+Location\+Always\+Usage\+Description或者\+N\+S\+Location\+Always\+And\+When\+In\+Use\+Usage\+Description时，需要在该delegate中调用后台定位api：\mbox{[}location\+Manager request\+Always\+Authorization\mbox{]}。开发者如果只配置了\+N\+S\+Location\+When\+In\+Use\+Usage\+Description，且只有使用期间的定位需求，则无需在delegate中实现逻辑。 


\begin{DoxyParams}{参数}
{\em location\+Manager} & 系统 C\+L\+Location\+Manager 类 。 \\
\hline
\end{DoxyParams}
\begin{DoxySince}{自从}
5.\+0.\+0 
\end{DoxySince}
\mbox{\Hypertarget{protocol_b_m_k_walk_cycle_location_service_delegate-p_a51ed19c4bec0227983c94a11ce520486}\label{protocol_b_m_k_walk_cycle_location_service_delegate-p_a51ed19c4bec0227983c94a11ce520486}} 
\index{$<$BMKWalkCycleLocationServiceDelegate$>$@{$<$BMKWalkCycleLocationServiceDelegate$>$}!onLocationServiceError:@{onLocationServiceError:}}
\index{onLocationServiceError:@{onLocationServiceError:}!$<$BMKWalkCycleLocationServiceDelegate$>$@{$<$BMKWalkCycleLocationServiceDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onLocationServiceError:}{onLocationServiceError:}}
{\footnotesize\ttfamily -\/ (void) on\+Location\+Service\+Error\+: \begin{DoxyParamCaption}\item[{(B\+M\+K\+Walk\+Cycle\+Navigation\+Location\+Service\+Error\+Code)}]{error\+Code }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

步骑行导航定位服务错误码


\begin{DoxyParams}{参数}
{\em error\+Code} & 错误对象 \\
\hline
\end{DoxyParams}


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