ConnectedLensModule.RealtimeStoreCreationInfo
ClassProvides extra context about a RealtimeStore's creation.
- Available on all platforms
Index
Properties
Methods
Extends
Properties
allowOwnershipTakeOver
readonlyallowOwnershipTakeOver:boolean
If true, ownership of the store can be claimed even if the store is already owned.
Since
Lens Scripting Version 184
lastUpdatedServerTimestamp
readonlylastUpdatedServerTimestamp:number
Provides the server timestamp (in milliseconds) of the last time the store was updated.
Since
Lens Scripting Version 181
ownerInfo
readonlyownerInfo: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.
Since
Lens Scripting Version 181
persistence
readonlypersistence:Persistence
The persistence setting that the store was created with.
Since
Lens Scripting Version 173
sentServerTimeMilliseconds
readonlysentServerTimeMilliseconds:number
Provides the server timestamp (in milliseconds) of when the store was created.
Since
Lens Scripting Version 181
storeId
readonlystoreId:string
A string that can be used to identify the RealtimeStore.
Since
Lens Scripting Version 181
Methods
getTypeName()
staticgetTypeName():TypeName<RealtimeStoreCreationInfo>
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns
TypeName<RealtimeStoreCreationInfo>
Overrides
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
isOfType()
isOfType(
type):boolean
Returns true if the object matches or derives from the passed in type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean