Player.PlayerFriendStatus
Stay organized with collections
Save and categorize content based on your preferences.
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
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`Player.PlayerFriendStatus` is an annotation interface defining the friendship status between the current player and another player."],["Three constants represent the possible statuses: `FRIEND`, `NO_RELATIONSHIP`, and `UNKNOWN`."],["`FRIEND` (value 4) indicates the players are friends, `NO_RELATIONSHIP` (value 0) means they are not friends and have no pending invitations, and `UNKNOWN` (value -1) signifies an undetermined friendship status, possibly due to privacy settings."]]],[]]