Config.AnchorPersistenceMode


class Config.AnchorPersistenceMode : Config.ConfigMode


Feature that allows anchors to be persisted through sessions.

This feature does not require any additional application permissions.

Summary

Public companion properties

Config.AnchorPersistenceMode

Anchors cannot be persisted.

Config.AnchorPersistenceMode

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

Public functions

open String

Inherited functions

From androidx.xr.runtime.Config.ConfigMode
open Boolean
isSupported(session: Session)

Queries whether the ConfigMode is supported and is available to be configured for the session via Session.configure.

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.

Public functions

toString

open fun toString(): String