Difference between revisions of "FBInstant.context"

From GiderosMobile
Line 8: Line 8:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[FBInstant.context.chooseAsync]] - Opens a context selection dialog for the player.<br/>
+
[[FBInstant.context.chooseAsync]] {{<translate>Opens a context selection dialog for the player.</translate>}}<br/>
[[FBInstant.context.createAsync]] - Attempts to create or switch into a context between a specified player and the current player.<br/>
+
[[FBInstant.context.createAsync]] {{<translate>Attempts to create or switch into a context between a specified player and the current player.</translate>}}<br/>
[[FBInstant.context.getID]] - A unique identifier for the current game context.<br/>
+
[[FBInstant.context.getID]] {{<translate>A unique identifier for the current game context.</translate>}}<br/>
[[FBInstant.context.getPlayersAsync]] - Gets an table of #contextplayer objects containing information about active players.<br/>
+
[[FBInstant.context.getPlayersAsync]] {{<translate>Gets an table of #contextplayer objects containing information about active players.</translate>}}<br/>
[[FBInstant.context.getType]] - The type of the current game context.<br/>
+
[[FBInstant.context.getType]] {{<translate>The type of the current game context.</translate>}}<br/>
[[FBInstant.context.isSizeBetween]] - Determines whether the number of participants in the current game context is between a given minimum and maximum.<br/>
+
[[FBInstant.context.isSizeBetween]] {{<translate>Determines whether the number of participants in the current game context is between a given minimum and maximum.</translate>}}<br/>
[[FBInstant.context.switchAsync]] - Request a switch into a specific context.<br/>
+
[[FBInstant.context.switchAsync]] {{<translate>Request a switch into a specific context.</translate>}}<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 15:19, 23 August 2018