Player.PlayerFriendStatus

  • Player.PlayerFriendStatus defines constants representing the relationship between the currently signed-in player and another player.

  • The possible friend statuses are FRIEND, NO_RELATIONSHIP, and UNKNOWN.

  • FRIEND indicates that the players are friends.

  • NO_RELATIONSHIP indicates no current friendship or pending invitations.

  • UNKNOWN means the friend status could not be determined.

public static abstract @interface Player.PlayerFriendStatus implements Annotation

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.

Constant Value: 4

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.

Constant Value: 0

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.

Constant Value: -1