public interface

OnLeaderboardScoresLoadedListener

com.google.android.gms.games.leaderboard.OnLeaderboardScoresLoadedListener

Class Overview

Listener for receiving callbacks when leaderboard scores have been loaded.

Summary

Public Methods
abstract void onLeaderboardScoresLoaded(int statusCode, LeaderboardBuffer leaderboard, LeaderboardScoreBuffer scores)
Called when leaderboard scores have been loaded.

Public Methods

public abstract void onLeaderboardScoresLoaded (int statusCode, LeaderboardBuffer leaderboard, LeaderboardScoreBuffer scores)

Called when leaderboard scores have been loaded.

Possible status codes include:

Parameters
statusCode A status code indicating the result of the operation.
leaderboard The leaderboard that the requested scores belong to. This is guaranteed to be non-null, and to contain at most one element. The listener must close this object when finished.
scores The leaderboard scores that were requested. This is guaranteed to be non-null, though it may be empty. The listener must close this object when finished.