Request a switch into a specific context. If the player does not have permission to enter that context,
or if the player does not provide permission for the game to enter that context, this will emit a switchfail
event.
Otherwise, the plugin will emit the switch
event when the game has switched into the specified context.
name | type | description |
---|---|---|
contextID | string |
The ID of the desired context. |
This Facebook Instant Games Plugin instance.