BUI logoDWC logoBBjGeolocationEvent::getAccuracy

Description

In BBj 11.00 and higher, this method returns the accuracy level of the latitude and longitude coordinates.

Syntax

Return Value Method
double getAccuracy()

Parameters

None.

Return Value

The "accuracy" attribute denotes the accuracy level of the latitude and longitude coordinates. It is specified in meters and must be supported by all implementations. The value of the accuracy attribute must be a non-negative real number.

Remarks

This value is only meaningful if getStatus() = 0. If getStatus() is non-zero, indicating an error result, getAccuracy() returns null.

Example

See Also

BBjAPI

BBj Object Syntax

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.

Geolocation API Specification