Lens Scripting API

    Provides extra context about a RealtimeStore's creation.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    allowOwnershipTakeOver: boolean

    If true, ownership of the store can be claimed even if the store is already owned.

    lastUpdatedServerTimestamp: number

    Provides the server timestamp (in milliseconds) of the last time the store was updated.

    ownerInfo: UserInfo

    Provides the UserInfo of the current owner of the RealtimeStore. If the store is unowned, a UserInfo object with null fields will be returned.

    persistence: Persistence

    The persistence setting that the store was created with.

    sentServerTimeMilliseconds: number

    Provides the server timestamp (in milliseconds) of when the store was created.

    storeId: string

    A string that can be used to identify the RealtimeStore.

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR