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
From class
com.google.android.gms.common.api.ApiException
protected final Status | mStatus |
Inherited Method Summary
From class
com.google.android.gms.common.api.ResolvableApiException
PendingIntent |
getResolution()
|
void |
startResolutionForResult(Activity
arg0, int arg1)
|
From class
com.google.android.gms.common.api.ApiException
From class java.lang.Throwable
synchronized final void |
addSuppressed(Throwable
arg0)
|
synchronized Throwable |
fillInStackTrace()
|
synchronized Throwable |
getCause()
|
String |
getLocalizedMessage()
|
String |
getMessage()
|
StackTraceElement[] |
getStackTrace()
|
synchronized final Throwable[] |
getSuppressed()
|
synchronized Throwable |
initCause(Throwable
arg0)
|
void |
printStackTrace()
|
void |
printStackTrace(PrintWriter
arg0)
|
void |
printStackTrace(PrintStream
arg0)
|
void |
setStackTrace(StackTraceElement[]
arg0)
|
String |
toString()
|