public interface

OnScoreSubmittedListener

com.google.android.gms.games.leaderboard.OnScoreSubmittedListener

Class Overview

Listener for getting status back after submitting a score to a leaderboard.

Summary

Public Methods
abstract void onScoreSubmitted(int statusCode, SubmitScoreResult result)
Called when a leaderboard score has been submitted.

Public Methods

public abstract void onScoreSubmitted (int statusCode, SubmitScoreResult result)

Called when a leaderboard score has been submitted. The statusCode indicates whether or not the score was successfully submitted to the servers.

Possible status codes include:

Parameters
statusCode A status code indicating the result of the operation.
result Detailed results of the operation, which includes data regarding whether this was the new high score for any of the supported time spans. Note that the results will only be populated if statusCode is STATUS_OK.