The accuracy of the provided position.
Readonly
onEvent to notify when north aligned orientation data is available to use.
Exposes User Data
Retrieves the device's current location.
onSuccess
: a callback function that takes a GeoPosition object as its sole input parameter.
onError
: a callback function that takes a string error message as its sole input parameter.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
The LocationService allows the user to provide their location to lens applications if they so desire. For privacy reasons, the user is asked for permission to report location information.
Example