HTML5 (Javascript) Client Reference
Class publishingNetworkProfiles
Language: Javascript (HTML5)
PlayerIO Publishing Network Profiles service. This class is used to fetch or show the profile of the current user, or to load the profiles of other users.
Properties | ||||
---|---|---|---|---|
|
||||
Methods | ||||
|
||||
|
publishingNetworkProfiles.myProfile
|
The profile of the current user
publishingNetworkProfiles.loadProfiles
|
Load a set of PlayerIO Publishing Network profiles
Arguments
userIds:string[] | |
The userIds of the profiles to load | |
successCallback:function(publishingNetworkProfile[]) | |
Callback function that will be called with the loaded profiles | |
errorCallback:function(PlayerIOError) | |
Callback function that will be called if an error occurs. |
publishingNetworkProfiles.showProfile
|
Show the profile for the specified user
Arguments
userId:string | |
The userId of the user to show | |
closedCallback:function() | |
Callback function that will be called when the profile is closed |