Page Summary
-
FriendsListVisibilityStatus represents the visibility status of a player's friends list to a game.
-
Possible statuses include FEATURE_UNAVAILABLE, REQUEST_REQUIRED, UNKNOWN, and VISIBLE.
-
These constants indicate whether the friends list is available, if access can be requested, if the status is unknown, or if the list is visible.
Friends list visibility statuses.
Constant Summary
| int | FEATURE_UNAVAILABLE | Constant indicating that the friends list is currently unavailable for the game. |
| int | REQUEST_REQUIRED | Constant indicating that the friends list is not visible to the game, but the game can ask for access. |
| int | UNKNOWN | Constant indicating that currently it's unknown if the friends list is visible to the game, or whether the game can ask for access from the user. |
| int | VISIBLE | Constant indicating that the friends list is currently visible to the game. |
Inherited Method Summary
Constants
public static final int FEATURE_UNAVAILABLE
Constant indicating that the friends list is currently unavailable for the game. You cannot request access at this time, either because the user has permanently declined or the friends feature is not available to them. In this state, any attempts to request access to the friends list will be unsuccessful.
public static final int REQUEST_REQUIRED
Constant indicating that the friends list is not visible to the game, but the game can ask for access.
public static final int UNKNOWN
Constant indicating that currently it's unknown if the friends list is visible to
the game, or whether the game can ask for access from the user. Use
PlayersClient.getCurrentPlayer(boolean) to force reload the latest
status.
public static final int VISIBLE
Constant indicating that the friends list is currently visible to the game.