\hypertarget{interface_b_m_k_suggestion_search_option}{}\doxysection{B\+M\+K\+Suggestion\+Search\+Option类 参考}
\label{interface_b_m_k_suggestion_search_option}\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}


sug检索信息类  




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

类 B\+M\+K\+Suggestion\+Search\+Option 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_suggestion_search_option}
\end{center}
\end{figure}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a2b769ad03eb52e46d9e14e8c096b6b43}{keyword}}
\begin{DoxyCompactList}\small\item\em 搜索关键字，必选 \end{DoxyCompactList}\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a938c2265022ca94d18c636388fc75e68}{cityname}}
\begin{DoxyCompactList}\small\item\em 城市名，参数也可以传入citycode，必选 \end{DoxyCompactList}\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_ab5339660b921348b041fabdec753c2c0}{location}}
\begin{DoxyCompactList}\small\item\em 指定位置，可选，注：会影响关键字不在设置城市范围内时的检索结果，故不建议使用。 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a256945a14f6f1d527e6e6fb5fb1cef25}{city\+Limit}}
\begin{DoxyCompactList}\small\item\em 是否只返回指定城市检索结果（默认：\+N\+O）（提示：海外区域暂不支持设置city\+Limit） \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a1a8c7f461c66e0e14981742ff8b45ff2}{hotword}}
\begin{DoxyCompactList}\small\item\em 是否仅透出热词,默认：\+NO \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a5efc95645e7882d54a896abfeee4863f}{filter\+Distance}}
\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a45188c24666d0d0c3193e08329181e61}{left\+Bottom}}
\begin{DoxyCompactList}\small\item\em 地图图区的范围（左下角），可选 \end{DoxyCompactList}\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a66274a40d7c228b5c5e77e7e7dc333ab}{right\+Top}}
\begin{DoxyCompactList}\small\item\em 地图图区的范围（右上角），可选 \end{DoxyCompactList}\item 
B\+M\+K\+Input\+Language\+Type \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a5dcb726dda1d59565681ccabb40bb8c1}{input\+Language\+Type}}
\begin{DoxyCompactList}\small\item\em 可选，参数输入的语言类型，默认 B\+M\+K\+Input\+Language\+Type\+Auto； \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_types_8h_a45f0c4da43ed7089b7097705c3785905}{B\+M\+K\+Language\+Type}} \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_af74d078b6ac451a61ad927dd664a3f4e}{language\+Type}}
\begin{DoxyCompactList}\small\item\em 可选。语言类型，默认中文。 \end{DoxyCompactList}\item 
B\+M\+K\+Search\+Service\+Region\+Type \mbox{\hyperlink{interface_b_m_k_suggestion_search_option_a594b4223bcabc344556cb738fb742161}{server\+Type}}
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
sug检索信息类 

\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a256945a14f6f1d527e6e6fb5fb1cef25}\label{interface_b_m_k_suggestion_search_option_a256945a14f6f1d527e6e6fb5fb1cef25}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!cityLimit@{cityLimit}}
\index{cityLimit@{cityLimit}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{cityLimit}{cityLimit}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) city\+Limit\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否只返回指定城市检索结果（默认：\+N\+O）（提示：海外区域暂不支持设置city\+Limit） 

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



城市名，参数也可以传入citycode，必选 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a5efc95645e7882d54a896abfeee4863f}\label{interface_b_m_k_suggestion_search_option_a5efc95645e7882d54a896abfeee4863f}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!filterDistance@{filterDistance}}
\index{filterDistance@{filterDistance}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{filterDistance}{filterDistance}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) filter\+Distance\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

sug检索支持指定范围检索（过滤距离和图区范围 二选一） 过滤距离大小，可选 。结合location使用。 单位：米 \mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a1a8c7f461c66e0e14981742ff8b45ff2}\label{interface_b_m_k_suggestion_search_option_a1a8c7f461c66e0e14981742ff8b45ff2}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!hotword@{hotword}}
\index{hotword@{hotword}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{hotword}{hotword}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hotword\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否仅透出热词,默认：\+NO 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a5dcb726dda1d59565681ccabb40bb8c1}\label{interface_b_m_k_suggestion_search_option_a5dcb726dda1d59565681ccabb40bb8c1}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!inputLanguageType@{inputLanguageType}}
\index{inputLanguageType@{inputLanguageType}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{inputLanguageType}{inputLanguageType}}
{\footnotesize\ttfamily -\/ (B\+M\+K\+Input\+Language\+Type) input\+Language\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



可选，参数输入的语言类型，默认 B\+M\+K\+Input\+Language\+Type\+Auto； 

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



搜索关键字，必选 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_af74d078b6ac451a61ad927dd664a3f4e}\label{interface_b_m_k_suggestion_search_option_af74d078b6ac451a61ad927dd664a3f4e}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!languageType@{languageType}}
\index{languageType@{languageType}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{languageType}{languageType}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_types_8h_a45f0c4da43ed7089b7097705c3785905}{B\+M\+K\+Language\+Type}}) language\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



可选。语言类型，默认中文。 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a45188c24666d0d0c3193e08329181e61}\label{interface_b_m_k_suggestion_search_option_a45188c24666d0d0c3193e08329181e61}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!leftBottom@{leftBottom}}
\index{leftBottom@{leftBottom}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{leftBottom}{leftBottom}}
{\footnotesize\ttfamily -\/ (C\+L\+Location\+Coordinate2D) left\+Bottom\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



地图图区的范围（左下角），可选 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_ab5339660b921348b041fabdec753c2c0}\label{interface_b_m_k_suggestion_search_option_ab5339660b921348b041fabdec753c2c0}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!location@{location}}
\index{location@{location}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{location}{location}}
{\footnotesize\ttfamily -\/ (C\+L\+Location\+Coordinate2D) location\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



指定位置，可选，注：会影响关键字不在设置城市范围内时的检索结果，故不建议使用。 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a66274a40d7c228b5c5e77e7e7dc333ab}\label{interface_b_m_k_suggestion_search_option_a66274a40d7c228b5c5e77e7e7dc333ab}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!rightTop@{rightTop}}
\index{rightTop@{rightTop}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{rightTop}{rightTop}}
{\footnotesize\ttfamily -\/ (C\+L\+Location\+Coordinate2D) right\+Top\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



地图图区的范围（右上角），可选 

\mbox{\Hypertarget{interface_b_m_k_suggestion_search_option_a594b4223bcabc344556cb738fb742161}\label{interface_b_m_k_suggestion_search_option_a594b4223bcabc344556cb738fb742161}} 
\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}!serverType@{serverType}}
\index{serverType@{serverType}!BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}
\doxysubsubsection{\texorpdfstring{serverType}{serverType}}
{\footnotesize\ttfamily -\/ (B\+M\+K\+Search\+Service\+Region\+Type) server\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

可选。境内/境外类型，默认境内。境外检索服务为高级服务，\+A\+K需要申请高级权限 since 6.\+6.\+6 

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