Google is committed to advancing racial equity for Black communities. See how.

Player.FriendsListVisibilityStatus

public static abstract @interface Player.FriendsListVisibilityStatus implements Annotation

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.

Constant Value: 3

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.

Constant Value: 2

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 getCurrentPlayer(boolean) to force reload the latest status.

Constant Value: 0

public static final int VISIBLE

Constant indicating that the friends list is currently visible to the game.

Constant Value: 1