\doxysection{BMKSuggestion\+Search\+Option类 参考}
\hypertarget{interface_b_m_k_suggestion_search_option}{}\label{interface_b_m_k_suggestion_search_option}\index{BMKSuggestionSearchOption@{BMKSuggestionSearchOption}}


sug检索信息类  




{\ttfamily \#include $<$BMKSuggestion\+Search\+Option.\+h$>$}

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


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

\doxysubsection{属性说明}
\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 -\/ (BOOL) city\+Limit\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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

\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 -\/ (NSString\texorpdfstring{$\ast$}{*}) cityname\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



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

\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 -\/ (NSInteger) filter\+Distance\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

sug检索支持指定范围检索（过滤距离和图区范围 二选一） 过滤距离大小，可选 。结合location使用。 单位：米 \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 -\/ (BOOL) hotword\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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

\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 -\/ (BMKInput\+Language\+Type) input\+Language\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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

\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 -\/ (NSString\texorpdfstring{$\ast$}{*}) keyword\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



搜索关键字，必选 

\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}{BMKLanguage\+Type}}) language\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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

\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 -\/ (CLLocation\+Coordinate2D) left\+Bottom\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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

\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 -\/ (CLLocation\+Coordinate2D) location\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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

\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 -\/ (CLLocation\+Coordinate2D) right\+Top\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Search.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_suggestion_search_option_8h}{BMKSuggestion\+Search\+Option.\+h}}\end{DoxyCompactItemize}
