Skip to main content

ARDK for Android/com.nianticlabs.ardk/VPSConfig/enableContinuousLocalization

enableContinuousLocalization

[androidJvm]
var enableContinuousLocalization: Boolean

Whether to enable continuous localization.

This will continuously send localization requests to the VPS server even after the first successful localization response has been received. These results will help refine the position of the anchor over time. This will also help mitigate AR tracking drift.

Attention: This will increase the bandwidth used by the VPS feature.

Attention: This will also cause anchored objects to move in the scene as their positions are refined.

Attention: This is disabled in the default configuration.

See cloudContinuousRequestsPerSecond to define the frequency of the requests.

Default:false