Skip to main content

ConnectedLensModule.MatchmakingConfig.LobbyMode

Enum

How matchmaking fills a session.

  • Snapchat: not supported
  • SPECS: not supported
  • Camera Kit Web: fully supported
  • Camera Kit Mobile: fully supported
  • SnapchatNot supported — Available on Camera Kit only
  • SPECSNot supported — Available on Camera Kit only
  • Camera Kit WebFully supported
  • Camera Kit MobileFully supported

Platform details

  • Snapchat — Not supported — Available on Camera Kit only.

  • SPECS — Not supported — Available on Camera Kit only.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Since Lens Scripting v387

How matchmaking fills a session. Set it on ConnectedLensModule.MatchmakingConfig#lobbyMode.

Index

Enumeration Members

Example

var config = ConnectedLensModule.MatchmakingConfig.create(2, 6, 4);
config.lobbyMode = ConnectedLensModule.MatchmakingConfig.LobbyMode.Open;
options.matchmakingConfig = config;

Enumeration Members

Open

Open: number

Camera Kit

Open lobby: the session starts with the minimum player count, and matchmaking adds players while it is below the target.

Since

Lens Scripting Version 387


Unset

Unset: number

Camera Kit

Classic: matchmaking forms the session once, with the target player count (or the minimum after a wait).

Since

Lens Scripting Version 387