Description

Provides extra context about a RealtimeStore's creation.

interface RealtimeStoreCreationInfo {
    allowOwnershipTakeOver: boolean;
    lastUpdatedServerTimestamp: number;
    ownerInfo: UserInfo;
    persistence: Persistence;
    sentServerTimeMilliseconds: number;
    storeId: string;
    getTypeName(): string;
    isOfType(type): boolean;
    isSame(other): boolean;
}

Hierarchy (view full)

Properties

allowOwnershipTakeOver: boolean

Description

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

lastUpdatedServerTimestamp: number

Description

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

ownerInfo: UserInfo

Description

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

Description

The persistence setting that the store was created with.

sentServerTimeMilliseconds: number

Description

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

storeId: string

Description

A string that can be used to identify the RealtimeStore.

Methods

  • Returns string

    Description

    Returns the name of this object's type.

  • Parameters

    • type: string

    Returns boolean

    Description

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

  • Parameters

    Returns boolean

    Description

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

Generated using TypeDoc