Android Client Reference
Class PublishingNetworkRelations
Namespace: com.playerio
Language: Java
The PlayerIO Publishing Network relations service
Methods | |||
---|---|---|---|
public PublishingNetworkProfile[] |
List of all friends |
||
public boolean |
Check if a specific user is blocked |
||
public boolean |
Check if a specific user is a friend |
||
public void |
Shows the a dialog where the user can manage their blocked users list. |
||
public void |
Shows the a dialog where the user can manage their friends list. |
||
public void |
Shows a dialog where the user can choose to block a specific user |
||
public void |
Shows a dialog where the user can choose to send a friend request to the specified user. |
PublishingNetworkRelations.getFriends
public PublishingNetworkProfile[] |
|
List of all friends
PublishingNetworkRelations.isBlocked
public boolean |
|
Check if a specific user is blocked
Arguments
String | userId |
PublishingNetworkRelations.isFriend
public boolean |
|
Check if a specific user is a friend
Arguments
String | userId |
PublishingNetworkRelations.showBlockedUsersManager
public void |
|
Shows the a dialog where the user can manage their blocked users list.
Arguments
Activity | activity |
Callback<Void> | closedCallback |
PublishingNetworkRelations.showFriendsManager
public void |
|
Shows the a dialog where the user can manage their friends list.
Arguments
Activity | activity |
Callback<Void> | closedCallback |
PublishingNetworkRelations.showRequestBlockUserDialog
public void |
|
Shows a dialog where the user can choose to block a specific user
Arguments
Activity | activity |
String | userId |
Callback<Void> | closedCallback |
PublishingNetworkRelations.showRequestFriendshipDialog
public void |
|
Shows a dialog where the user can choose to send a friend request to the specified user.
Arguments
Activity | activity |
String | userId |
Callback<Void> | closedCallback |