ConnectedLensModule.ConnectionInfo
ClassInformation that is bootstrapped to the user who just connected to the session.
- Available on all platforms
Index
Properties
Methods
Extends
Properties
externalUsersInfo
readonlyexternalUsersInfo:UserInfo[]
Get the information about all the other users connected to the same session.
Since
Lens Scripting Version 177
hostUserInfo
readonlyhostUserInfo:UserInfo
localUserInfo
readonlylocalUserInfo:UserInfo
Get the information about the local user.
realtimeStores
readonlyrealtimeStores:GeneralDataStore[]
Get all the Realtime Stores that are being used in the session.
realtimeStoresCreationInfos
readonlyrealtimeStoresCreationInfos:RealtimeStoreCreationInfo[]
Provides creation info about every existing RealtimeStore.
Methods
getTypeName()
staticgetTypeName():TypeName<ConnectionInfo>
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<ConnectionInfo>
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