UserLocationProvider

A read-only source of the end user's location and orientation updates.

Both the Map SDK's user location manager and the GeoAR SDK's AR location manager implement this, exposing the same coordinate, attitude, and error streams regardless of which SDK renders the user.

Properties

Link copied to clipboard
abstract val attitudes: Flow<Attitude>

Flow of user attitude updates.

Link copied to clipboard
abstract val coordinates: Flow<Coordinate>

Flow of user location coordinates.

Link copied to clipboard
abstract val errors: Flow<Throwable>

Flow of errors produced while providing the user location.

Link copied to clipboard
abstract val lastCoordinate: Coordinate?

The latest user location coordinate, or null if none received yet.