getDistance abstract method
- int index
Distance in meters from the referenceCoordinates to the specified item.
If index is outside the valid range the method returns 0.
Parameters
index: Zero-based index of the alarm item.
Returns
int: Distance in meters to the item, or0whenindexis out of range.
Implementation
int getDistance(final int index);