Phaser API Documentation

  Version: 
getData(keys)

Description:

Gets the associated data from the player based on the given key, or array of keys.

The data is requested in an async call, so the result isn't available immediately.

When the call completes the data is set into this plugins Data Manager and the getdata event will be emitted.

Parameters:

name type description
keys string | Array.<string>

The key/s of the data to retrieve.

Returns:
Description:

This Facebook Instant Games Plugin instance.

Since: 3.13.0