| CLASS info |
| public interface Distance |
| 距离信息相关接口 |
| Type | Name | Desc |
| @interface | Distance.Precision | 距离估算精度值 |
| Type | Name | Desc |
| Distance | DISTANCE_UNKNOWN | 表示未知距离 |
| Return type | Method name |
| abstract int | compareTo(Distance other) 与其他Distance对象比较估算的距离(不比较精度) |
| abstract int | getPrecision() 返回距离估算的精度 |
| abstract double | getMeters() 返回估算的距离,单位:米 |
| Method |
| public abstract int compareTo(Distance other) |
| 与其他Distance对象比较估算的距离(不比较精度)。 |
| Method |
| public abstract int getPrecision() |
| 返回距离估算的精度。 |
| Method |
| public abstract double getMeters() |
| 返回估算的距离,单位:米。 |