Interface Info |
|---|
public interface Distance 距离信息相关接口。它由估算距离(单位:米)和估算精度组成。 |
Qualifier and Type | Field and Description |
|---|---|
static final Distance | 表示未知距离,其Precision为PRECISION_LOW,距离为NaN。 |
Qualifier and Type | Method Name and Description |
|---|---|
int | compareTo(Distance distance) 与其他Distance对象进行比较。 |
double | 获取估算的距离。 |
int | 获取距离估算的精度。 |
Fields |
|---|
public static final Distance DISTANCE_UNKNOWN 未知距离。 Constant Value:"precision = LOW, meters = NaN" |