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.
Games.GamesOptions
Stay organized with collections
Save and categorize content based on your preferences.
API configuration parameters for Games.
Inherited Field Summary
From interface
com.google.android.gms.common.api.Api.ApiOptions
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface
com.google.android.gms.common.api.Api.ApiOptions.HasGoogleSignInAccountOptions
Public Methods
public boolean equals (Object object)
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."],[[["`Games.GamesOptions` provides configuration parameters for the Games API on Android."],["It offers a builder class (`Games.GamesOptions.Builder`) for easy construction of options."],["These options can be integrated with Google Sign-In accounts for user authentication."],["Includes standard methods like `equals` and `hashCode` for object comparison."]]],["`Games.GamesOptions` configures API parameters for games. It uses a `Builder` class for construction. Key actions include using the static `builder()` method to create a `Games.GamesOptions.Builder` object. It also includes standard methods like `equals()` and `hashCode()` for object comparison and hashing. `GamesOptions` also implements `HasGoogleSignInAccountOptions`, enabling the `getGoogleSignInAccount()` method. An inherited `NO_OPTIONS` field exists.\n"]]