java.lang.Object | |
↳ | com.google.android.gms.games.Games.GamesOptions.Builder |
This class is deprecated.
GamesOptions class is deprecated.
Helper class to build Games.GamesOptions
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets whether a "connecting" popup should be displayed automatically at the start of the
sign-in flow.
| |||||||||||
Sets whether a "connecting" popup should be displayed automatically at the start of the
sign-in flow.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Parameters | |
---|---|
variant |
int |
Returns | |
---|---|
Games.GamesOptions.Builder |
Sets whether a "connecting" popup should be displayed automatically at the start of the sign-in flow. By default this is enabled.
Note that this call will use the default gravity for the "connecting" popup, which will
display the popup at the center of the screen. If you prefer that the popup appear in a
different section of the screen, you can use setShowConnectingPopup(boolean, int)
,
and provide a Gravity
value.
Parameters | |
---|---|
showConnectingPopup |
boolean : Whether or not to show a "connecting" popup at the beginning of
the sign-in flow. Default behavior is for this to be true . |
Returns | |
---|---|
Games.GamesOptions.Builder |
This Builder. |
Sets whether a "connecting" popup should be displayed automatically at the start of the sign-in flow. By default this is enabled.
Parameters | |
---|---|
showConnectingPopup |
boolean : Whether or not to show a "connecting" popup at the beginning of
the sign-in flow. Default behavior is for this to be true . |
gravity |
int : The Gravity which controls where the "connecting" popup should be
displayed during sign-in. |
Returns | |
---|---|
Games.GamesOptions.Builder |
This Builder. |