Config.AnchorPersistenceMode


class Config.AnchorPersistenceMode : Config.ConfigMode


Feature that allows anchors to be persisted through sessions.

Summary

Public companion properties

Config.AnchorPersistenceMode

This property is deprecated. Use androidx.xr.runtime.AnchorPersistenceMode instead.

Config.AnchorPersistenceMode

This property is deprecated. Use androidx.xr.runtime.AnchorPersistenceMode instead.

Public companion properties

DISABLED

val DISABLEDConfig.AnchorPersistenceMode

Anchors cannot be persisted.

LOCAL

val LOCALConfig.AnchorPersistenceMode

Anchors may be persisted and will be saved in the application's local storage.

Supported runtimes:

  • OpenXR

Required permissions: None