VpsLocalLocationSourceListener

Observer of VpsLocalLocationSource scan activity.

This listener exposes the richer per-scan outcome for apps that want to surface scan status, rejected fixes, or errors in their UI.

Functions

Link copied to clipboard
abstract fun onError(error: Throwable)

A scan iteration threw (camera, inference, or database error).

Link copied to clipboard
abstract fun onLocalized(coordinate: Coordinate, attitude: Attitude)

A scan produced a fix that passed the outlier filter and was submitted downstream.

Link copied to clipboard

A scan completed but did not yield a usable fix (no candidates, rejected outlier, buffering, …).