FriendsResolutionRequiredException

  • FriendsResolutionRequiredException is thrown when attempting to access the friends list without obtaining player consent.

  • To resolve this exception and obtain consent, use getResolution() to get a PendingIntent which can display a UI prompt.

public final class FriendsResolutionRequiredException extends ResolvableApiException

Exception thrown when trying to access the list of friends. If consent was not provided, then the API call will fail with FriendsResolutionRequiredException().

To obtain consent from a player, call getResolution to retrieve the PendingIntent which can be used to show a UI asking the player to give permission to the game to access the friends list.

Inherited Field Summary

Inherited Method Summary