CurrentPlayerInfo

  • CurrentPlayerInfo provides data specific to the signed-in user, like whether they've shared their friends list with the game.

  • It implements interfaces for data freezing (Freezable), data validity checks, and parceling for object transmission (Parcelable).

  • The key method, getFriendsListVisibilityStatus(), indicates the user's friends list sharing preference within the game.

  • Developers can use this information to tailor social features based on the user's privacy settings and data availability.

public interface CurrentPlayerInfo implements Freezable<CurrentPlayerInfo> Parcelable

Data object representing the information related only to the signed in user.

Inherited Constant Summary

Public Method Summary

abstract int
getFriendsListVisibilityStatus()
Retrieves if the user has shared the friends list with the game.

Inherited Method Summary

Public Methods

public abstract int getFriendsListVisibilityStatus ()

Retrieves if the user has shared the friends list with the game. The possible output can be found in Player.FriendsListVisibilityStatus.