ConnectedLensModule.MultiplayerSupportInfo
ClassWhich multiplayer capabilities are available for the current Lens launch, from ConnectedLensModule#getMultiplayerSupportInfo.
- Available on all platforms
Since Lens Scripting v375
Which multiplayer capabilities are available for the current Lens launch, from ConnectedLensModule#getMultiplayerSupportInfo. Currently reports matchmaking availability.
Index
Properties
Methods
Extends
Properties
matchmakingAvailability
readonlymatchmakingAvailability:MatchmakingAvailability
Whether matchmaking is available for this Lens launch, and if not, why. Supported means the
host reported it as available; the user may still decline it during session creation.
Since
Lens Scripting Version 375
Methods
getTypeName()
staticgetTypeName():TypeName<MultiplayerSupportInfo>
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<MultiplayerSupportInfo>
Since
Lens Scripting Version 375
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