\hypertarget{protocol_b_m_k_offline_map_delegate-p}{}\doxysection{$<$B\+M\+K\+Offline\+Map\+Delegate$>$协议 参考}
\label{protocol_b_m_k_offline_map_delegate-p}\index{$<$BMKOfflineMapDelegate$>$@{$<$BMKOfflineMapDelegate$>$}}


离线地图delegate，用于获取通知  




{\ttfamily \#import $<$B\+M\+K\+Offline\+Map.\+h$>$}

类 $<$B\+M\+K\+Offline\+Map\+Delegate$>$ 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{protocol_b_m_k_offline_map_delegate-p}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_offline_map_delegate-p_abe1dd90ae5ffd9612423c547ab9b1970}{on\+Get\+Offline\+Map\+State\+:with\+State\+:}}
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
离线地图delegate，用于获取通知 

\doxysubsection{函数文档}
\mbox{\Hypertarget{protocol_b_m_k_offline_map_delegate-p_abe1dd90ae5ffd9612423c547ab9b1970}\label{protocol_b_m_k_offline_map_delegate-p_abe1dd90ae5ffd9612423c547ab9b1970}} 
\index{$<$BMKOfflineMapDelegate$>$@{$<$BMKOfflineMapDelegate$>$}!onGetOfflineMapState:withState:@{onGetOfflineMapState:withState:}}
\index{onGetOfflineMapState:withState:@{onGetOfflineMapState:withState:}!$<$BMKOfflineMapDelegate$>$@{$<$BMKOfflineMapDelegate$>$}}
\doxysubsubsection{\texorpdfstring{onGetOfflineMapState:withState:}{onGetOfflineMapState:withState:}}
{\footnotesize\ttfamily -\/ (void) on\+Get\+Offline\+Map\+State\+: \begin{DoxyParamCaption}\item[{(int)}]{type }\item[{with\+State\+:(int)}]{state }\end{DoxyParamCaption}}

返回通知结果 
\begin{DoxyParams}{参数}
{\em type} & 事件类型： T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+U\+P\+D\+A\+TE,T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+Z\+I\+P\+C\+NT,T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+U\+N\+Z\+IP, T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+E\+R\+R\+Z\+IP, T\+Y\+P\+E\+\_\+\+V\+E\+R\+\_\+\+U\+P\+D\+A\+TE, T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+U\+N\+Z\+I\+P\+F\+I\+N\+I\+SH, T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+A\+DD \\
\hline
{\em state} & 事件状态，当type为\+T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+U\+P\+D\+A\+T\+E时，表示正在下载或更新城市id为state的离线包，当type为\+T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+Z\+I\+P\+C\+N\+T时，表示检测到state个离线压缩包，当type为\+T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+A\+D\+D时，表示新安装的离线地图数目，当type为\+T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+U\+N\+Z\+I\+P时，表示正在解压第state个离线包，当type为\+T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+E\+R\+R\+Z\+I\+P时，表示有state个错误包，当type为\+T\+Y\+P\+E\+\_\+\+V\+E\+R\+\_\+\+U\+P\+D\+A\+T\+E时，表示id为state的城市离线包有更新，当type为\+T\+Y\+P\+E\+\_\+\+O\+F\+F\+L\+I\+N\+E\+\_\+\+U\+N\+Z\+I\+P\+F\+I\+N\+I\+S\+H时，表示扫瞄完成，成功导入state个离线包 \\
\hline
\end{DoxyParams}


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