BBjGeolocationPositionEvent::getAccuracy


Description

In BBj 11.0 and higher, this method returns the position 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

BBj Object Diagram for an illustration of the relationship between BBjObjects.

Geolocation API Specification



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.