HTML5 (Javascript) Client Reference
Class publishingNetwork
Language: Javascript (HTML5)
The PlayerIO Publishing Network service. This class is used to access all the functionality available to games that are published on the PlayerIO Publishing Network.
Example
Refreshing data
Properties | ||||
---|---|---|---|---|
|
||||
|
||||
|
||||
|
||||
Methods | ||||
|
publishingNetwork.payments
|
Access to PlayerIO Publishing Network payments
publishingNetwork.profiles
|
Access to the PlayerIO Publishing Network profiles
publishingNetwork.relations
|
Access to PlayerIO Publishing Network relations
publishingNetwork.userToken
|
A UserToken that can be used to authenticate as the current user.
publishingNetwork.refresh
|
Refresh the Profiles and Relations
Arguments
successCallback:function() | |
Callback function that will be called when the refresh is complete. | |
errorCallback:function(PlayerIOError) | |
Callback function that will be called if an error occurs. |