\doxysection{\texorpdfstring{$<$}{<}BMKOffline\+Map\+Delegate\texorpdfstring{$>$}{>}协议 参考}
\hypertarget{protocol_b_m_k_offline_map_delegate-p}{}\label{protocol_b_m_k_offline_map_delegate-p}\index{$<$BMKOfflineMapDelegate$>$@{$<$BMKOfflineMapDelegate$>$}}


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




{\ttfamily \#include $<$BMKOffline\+Map.\+h$>$}

类 \texorpdfstring{$<$}{<}BMKOffline\+Map\+Delegate\texorpdfstring{$>$}{>} 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{protocol_b_m_k_offline_map_delegate-p}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\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{函数文档}
\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} & 事件类型： TYPE\+\_\+\+OFFLINE\+\_\+\+UPDATE,TYPE\+\_\+\+OFFLINE\+\_\+\+ZIPCNT,TYPE\+\_\+\+OFFLINE\+\_\+\+UNZIP, TYPE\+\_\+\+OFFLINE\+\_\+\+ERRZIP, TYPE\+\_\+\+VER\+\_\+\+UPDATE, TYPE\+\_\+\+OFFLINE\+\_\+\+UNZIPFINISH, TYPE\+\_\+\+OFFLINE\+\_\+\+ADD \\
\hline
{\em state} & 事件状态，当type为\+TYPE\+\_\+\+OFFLINE\+\_\+\+UPDATE时，表示正在下载或更新城市id为state的离线包，当type为\+TYPE\+\_\+\+OFFLINE\+\_\+\+ZIPCNT时，表示检测到state个离线压缩包，当type为\+TYPE\+\_\+\+OFFLINE\+\_\+\+ADD时，表示新安装的离线地图数目，当type为\+TYPE\+\_\+\+OFFLINE\+\_\+\+UNZIP时，表示正在解压第state个离线包，当type为\+TYPE\+\_\+\+OFFLINE\+\_\+\+ERRZIP时，表示有state个错误包，当type为\+TYPE\+\_\+\+VER\+\_\+\+UPDATE时，表示id为state的城市离线包有更新，当type为\+TYPE\+\_\+\+OFFLINE\+\_\+\+UNZIPFINISH时，表示扫瞄完成，成功导入state个离线包 \\
\hline
\end{DoxyParams}


该协议的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_offline_map_8h}{BMKOffline\+Map.\+h}}\end{DoxyCompactItemize}
