Following the deprecation of the Google Sign-In API, we are removing the games v1 SDK in 2026. After February 2025, you will be unable to publish titles that are newly integrated with games v1 SDK, on Google Play. We recommend that you use the games v2 SDK instead.
While existing titles with the previous games v1 integrations continue to function for a couple of years, you are encouraged to migrate to v2 starting June 2025.
Players.LoadPlayersResult
Stay organized with collections
Save and categorize content based on your preferences.
This interface is deprecated.
Player
is
returned directly in the PlayersClient
.
Result delivered when player data has been loaded.
Possible status codes include:
Inherited Method Summary
From interface com.google.android.gms.common.api.Result
From interface
com.google.android.gms.common.api.Releasable
Public Methods
public abstract PlayerBuffer
getPlayers ()
Returns
- The player metadata that was requested. This is guaranteed to be non-null, though
it may be empty. The listener must close this object when finished.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-24 UTC.
[[["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 2025-01-24 UTC."],[[["`Players.LoadPlayersResult` is deprecated and `Player` data is now directly accessible via `PlayersClient`."],["This interface delivers results when player data has been loaded, with various status codes indicating success, network errors, or other issues."],["`getPlayers()` method provides access to loaded player metadata, which might be empty, but is guaranteed to be non-null, and requires the user to close it when finished."],["Status codes clarify whether the loaded player data is up-to-date, affected by network issues, or if other problems like license checks or internal errors occurred."]]],["`Players.LoadPlayersResult` is a deprecated interface for loading player data, now directly handled by `PlayersClient`. It delivers results with status codes such as `STATUS_OK`, `STATUS_NETWORK_ERROR_NO_DATA`, `STATUS_NETWORK_ERROR_STALE_DATA`, `STATUS_CLIENT_RECONNECT_REQUIRED`, `STATUS_LICENSE_CHECK_FAILED`, and `STATUS_INTERNAL_ERROR`. The interface includes methods like `getPlayers()` to retrieve a `PlayerBuffer` and inherited methods `getStatus()` and `release()`. The `getPlayers()` method provides player metadata, which can be empty and must be closed after use.\n"]]