-
Notifications
You must be signed in to change notification settings - Fork 966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Show Compare Profile UI * #2718
base: android-java-client
Are you sure you want to change the base?
Add Show Compare Profile UI * #2718
Conversation
/// <summary> | ||
/// Shows the Play Games Player Profile UI for a specific player. | ||
/// </summary> | ||
/// <param name="userId">User identifier. It cannot be null. </param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to specify "It cannot be null"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
/// <summary> | ||
/// Shows the Player Profile UI for the given player Id | ||
/// </summary> | ||
/// <param name="userId">User Identifier. It cannot be null.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to specify which param can or which can't be null
@@ -713,6 +713,28 @@ public void ReportProgress(string achievementID, double progress, Action<bool> c | |||
}); | |||
} | |||
|
|||
/// <summary> | |||
/// Shows the Player Profile UI for the given player Id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user identifier
/// Shows the Play Games Player Profile UI for a specific player. | ||
/// </summary> | ||
/// <param name="userId">User identifier. It cannot be null. </param> | ||
/// <param name="callback">Callback.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Callback.
Check how we describe 'callback' in other methods, please.
00e373b
to
ad22443
Compare
}); | ||
AndroidTaskUtils.AddOnFailureListener(task, exception => | ||
{ | ||
InvokeCallbackOnGameThread(callback, UIStatus.NotAuthorized); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UIStatus.NotAuthorized probably there are more cases it could faild and most frequent one will be no internet connection.
We should get status code from ApiException and switch over possible status codes
No description provided.