PlayerIO

The fastest way to build online games without breaking a sweat.

Android Client Reference

Android  class documentationClass PublishingNetwork

Namespace: com.playerio
Language: Java

PlayerIO Publishing Network

Properties

 
public PublishingNetworkProfiles
profiles  [read-only]

Access to PlayerIO Publishing Network profiles

public PublishingNetworkRelations
relations  [read-only]

Access to the users PublishingNetwork relations

public String
userToken

A UserToken that can be used to authenticate as the current user.

Methods

 
public void
refresh (Callback<Void> callback)

Refresh Profiles and Relations. public void refresh() throws PlayerIOError { refreshed(channel.socialRefresh()); }

PublishingNetwork.profiles

public PublishingNetworkProfiles
profiles  [read-only]

Access to PlayerIO Publishing Network profiles

PublishingNetwork.relations

public PublishingNetworkRelations
relations  [read-only]

Access to the users PublishingNetwork relations

PublishingNetwork.userToken

public String
userToken

A UserToken that can be used to authenticate as the current user.

PublishingNetwork.refresh

public void
refresh (Callback<Void> callback)

Refresh Profiles and Relations. public void refresh() throws PlayerIOError { refreshed(channel.socialRefresh()); }

Arguments

Callback<Void> callback
Callback that will be called when the refresh is complete.

Throws

com.playerio.PlayerIOError