Skip to main content

global.persistentStorageSystem

Variable

Returns the global PersistentStorageSystem, which allows data to persist between Lens sessions.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

const persistentStorageSystem: PersistentStorageSystem

Returns the global PersistentStorageSystem, which allows data to persist between Lens sessions.