public static final class PoiFilter.Builder
extends java.lang.Object
构造器和说明 |
---|
Builder()
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
PoiFilter |
build()
创建poi检索规则对象
|
PoiFilter.Builder |
industryType(PoiFilter.IndustryType industryType)
行业类型
|
PoiFilter.Builder |
isDiscount(boolean isDiscount)
是否有打折
|
PoiFilter.Builder |
isGroupon(boolean isGroupon)
是否有团购
|
PoiFilter.Builder |
sortName(PoiFilter.SortName sortName)
排序字段
|
PoiFilter.Builder |
sortRule(int sortRule)
排序规则
|
public PoiFilter build()
public PoiFilter.Builder industryType(PoiFilter.IndustryType industryType)
industryType
- 行业类型public PoiFilter.Builder sortName(PoiFilter.SortName sortName)
sortName
- 排序字段public PoiFilter.Builder sortRule(int sortRule)
sortRule
- 排序规则: 0(从高到低),1(从低到高)public PoiFilter.Builder isGroupon(boolean isGroupon)
isGroupon
- 是否有团购:1(有),0(无)public PoiFilter.Builder isDiscount(boolean isDiscount)
isDiscount
- 是否有打折:1(有),0(无)