## 类的使用
com.amap.api.services.routepoisearch.RoutePOISearch.RoutePOISearchType

- 使用RoutePOISearch.RoutePOISearchType的程序包
  程序包 | 说明
  --- | ---
  com.amap.api.services.routepoisearch | 沿途POI搜索包，搜索驾车沿途的POI信息。

- - ### com.amap.api.services.routepoisearch中RoutePOISearch.RoutePOISearchType的使用

    返回RoutePOISearch.RoutePOISearchType的com.amap.api.services.routepoisearch中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `RoutePOISearch.RoutePOISearchType` | RoutePOISearchQuery.`getSearchType()` 返回沿途搜索的POI类型。
    `static RoutePOISearch.RoutePOISearchType` | RoutePOISearch.RoutePOISearchType.`valueOf(java.lang.String name)` 返回带有指定名称的该类型的枚举常量。
    `static RoutePOISearch.RoutePOISearchType[]` | RoutePOISearch.RoutePOISearchType.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为RoutePOISearch.RoutePOISearchType的com.amap.api.services.routepoisearch中的构造器
    构造器和说明
    `RoutePOISearchQuery(LatLonPoint fromPoint, LatLonPoint toPoint, int mode, RoutePOISearch.RoutePOISearchType type, int range)` 根据给定的参数来构造一个 RoutePOISearchQuery 的新对象。
    `RoutePOISearchQuery(java.util.List<LatLonPoint> polyline, RoutePOISearch.RoutePOISearchType type, int range)` 根据给定的参数来构造一个 RoutePOISearchQuery 的新对象。