forceUpdatePosition

fun forceUpdatePosition(coordinate: Coordinate, attitude: Attitude? = null): Boolean

Deprecated

This method is temporary and may be removed in any future release.

Forces a manual update of the geo-reference used by the pose estimator.

This method sets a new geo-reference for the internal pose estimation system by injecting the provided geographic coordinate and a device attitude (either supplied explicitly or inferred from the latest known attitude).

Use this method to manually realign the virtual world to a known geographic reference point, such as during debugging or when external correction is needed.

This is a temporary API intended for internal use only. The geo-reference set by this method will be overridden the next time a VPS scan completes successfully.

This method is temporary and may be removed in any future release.

Return

true if the geo-reference was successfully updated (i.e., both attitude and local pose are available), false otherwise.

Parameters

coordinate

The geographic coordinate to use as the new geo-reference.

attitude

An optional device attitude. If not provided, the last known attitude will be used.