public class FindServiceAreasService
extends java.lang.Object
服务区分析服务类。
服务区分析属于网络分析的一种,是以指定服务站点为中心,在一定服务范围内查找网络上服务站点能够提供服务的区域范围。例如:计算某快餐店能够在30分钟内送达快餐的区域。
限定符和类型 | 类和说明 |
---|---|
static class |
FindServiceAreasService.FindServiceAreasEventListener
处理服务区分析结果的监听器抽象类。
|
构造器和说明 |
---|
FindServiceAreasService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
FindServiceAreasResult |
getLastResult()
返回服务区分析结果。
|
<T> void |
process(FindServiceAreasParameters<T> params, FindServiceAreasService.FindServiceAreasEventListener listener)
根据服务区分析与服务端完成异步通讯,即发送分析参数,并通过实现FindServiceAreasEventListener监听器处理分析结果。
|
public FindServiceAreasService(java.lang.String url)
构造函数。
url
- 服务区分析服务地址。public <T> void process(FindServiceAreasParameters<T> params, FindServiceAreasService.FindServiceAreasEventListener listener)
根据服务区分析与服务端完成异步通讯,即发送分析参数,并通过实现FindServiceAreasEventListener监听器处理分析结果。
params
- 服务区分析参数信息。listener
- 处理分析结果的FindServiceAreasEventListener监听器。public FindServiceAreasResult getLastResult()
返回服务区分析结果。