Skip to main content

Storage

Data kept on the device between sessions, and cloud storage shared across users or locations.

Commonly used

Guides

All APIs in this topic

Reference assets and other modules with a script input.

Components, assets, and modules

APIDescription
CloudStorageModuleProvides access to Cloud Storage capabilities.
LocationCloudStorageModuleProvides access to location cloud storage depending upon the LocationCloudStorageOptions.

Objects and data

APIDescription
CloudStorageListOptionsOptions associated with the listValues method call.
CloudStorageOptionsUsed to configure Cloud Storage Module with various options.
CloudStorageReadOptionsOptions associated with the getValue/deleteValue methods for Cloud Storage.
CloudStorageWriteOptionsOptions associated with the setValue method for Cloud Storage.
CloudStoreAn instance of Cloud Storage that can store data in a multiplayer experience.
DataStoreWithSceneA GeneralDataStore that persists data across multiple Snaps within the same Lens session.
GeneralDataStoreClass for storing and retrieving data based on keys.
LocationCloudStorageOptionsUsed to configure LocationCloudStorage module with various options.
LocationCloudStoreInstance of location cloud store which has a similar interface as cloud store.
PersistentStorageSystemAllows data to be stored and retrieved between Lens sessions.

Enums

APIDescription
StorageScopeSpecifies a scope for storing or retrieving values from a MultiplayerSession.