FBInstant.context

From GiderosMobile
(Redirected from Context)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.

Supported platforms: Platform html5.png
Available since: Gideros 2018.3

Description

Contains functions and properties related to the current game context.

Methods

FBInstant.context.chooseAsync Opens a context selection dialog for the player.
FBInstant.context.createAsync Attempts to create or switch into a context between a specified player and the current player.
FBInstant.context.getID A unique identifier for the current game context.
FBInstant.context.getPlayersAsync Gets an table of #contextplayer objects containing information about active players.
FBInstant.context.getType The type of the current game context.
FBInstant.context.isSizeBetween Determines whether the number of participants in the current game context is between a given minimum and maximum.
FBInstant.context.switchAsync Request a switch into a specific context.

Events

Constants