目录

CLASS info
public interface Distance
距离信息相关接口

Nested Class Summary

TypeNameDesc
@interfaceDistance.Precision距离估算精度值

Field Summary

TypeNameDesc
DistanceDISTANCE_UNKNOWN表示未知距离

Public Method Summary

Return typeMethod name
abstract intcompareTo(Distance other)
与其他Distance对象比较估算的距离(不比较精度)
abstract intgetPrecision()
返回距离估算的精度
abstract doublegetMeters()
返回估算的距离,单位:米

Public Methods

Method
public abstract int compareTo(Distance other)
与其他Distance对象比较估算的距离(不比较精度)。
Method
public abstract int getPrecision()
返回距离估算的精度。
Method
public abstract double getMeters()
返回估算的距离,单位:米。