Page Summary
-
Player.PlayerFriendStatus is an annotation defining player friend statuses.
-
It includes constants for FRIEND, NO_RELATIONSHIP, and UNKNOWN friend statuses.
-
FRIEND indicates the players are friends, NO_RELATIONSHIP indicates no friendship or pending invitations, and UNKNOWN indicates an unknown status.
Player friend statuses.
Constant Summary
| int | FRIEND | Constant indicating that the currently signed-in player and this player are friends. |
| int | NO_RELATIONSHIP | Constant indicating that the currently signed-in player is not a friend of this player, and there are no pending invitations between them. |
| int | UNKNOWN | Constant indicating that the currently signed-in player's friend status with this player is unknown. |
Inherited Method Summary
Constants
public static final int FRIEND
Constant indicating that the currently signed-in player and this player are friends.
public static final int NO_RELATIONSHIP
Constant indicating that the currently signed-in player is not a friend of this player, and there are no pending invitations between them.
public static final int UNKNOWN
Constant indicating that the currently signed-in player's friend status with this player is unknown. This may happen if the user has not shared the friends list with the game.