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
From class
com.google.android.gms.common.api.ApiException
[[["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."],[],["`FriendsResolutionRequiredException` occurs when accessing a friends list without player consent. To resolve this, use `getResolution()` to obtain a `PendingIntent`. This intent prompts the player to grant the game permission to access their friend list. The `startResolutionForResult` method can then be used with an activity to initiate the consent process. Other inherited methods provide status details, and standard exception management like stack trace handling.\n"]]