Opens a context selection dialog for the player. If the player selects an available context,
the client will attempt to switch into that context, and emit the choose
event if successful.
Otherwise, if the player exits the menu or the client fails to switch into the new context, the choosefail
event will be emitted.
name | type | arguments | description |
---|---|---|---|
options | ChooseContextConfig | <optional> |
An object specifying conditions on the contexts that should be offered. |
This Facebook Instant Games Plugin instance.