Skip to main content

RealtimeStoreCreateOptions.Persistence

Enum

The persistence model for a realtime store.

  • 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.

Since Lens Scripting v173

Index

Enumeration Members

Ephemeral

Ephemeral: number

Indicates that the entity will be deleted after it is broadcast.

Since

Lens Scripting Version 173


Owner

Owner: number

Indicates that the entity will be deleted when the owner leaves.

Since

Lens Scripting Version 173


Persist

Persist: number

Indicates that the entity will be marked as unowned when the owner leaves. The Entity will be created as unowned when any client rejoins.

Since

Lens Scripting Version 173


Session

Session: number

Indicates that the entity will be marked as unowned when the owner leaves. The Entity will be deleted when all clients leave.

Since

Lens Scripting Version 173