| java.lang.Object | |
| ↳ | com.google.android.gms.games.multiplayer.turnbased.TurnBasedMatchConfig.Builder |
Builder class for TurnBasedMatchConfig.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a player ID to invite to the match.
| |||||||||||
Add a list of player IDs to invite to the match.
| |||||||||||
Builds a new
TurnBasedMatchConfig object. | |||||||||||
Sets the auto-match criteria for the match.
| |||||||||||
Sets the minimum number of players required to start the match.
| |||||||||||
Sets the variant for the match.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
Add a player ID to invite to the match.
| playerId | Player ID to invite to the match. |
|---|
Add a list of player IDs to invite to the match.
| playerIds | One or more player IDs to invite to the match. |
|---|
Builds a new TurnBasedMatchConfig object.
TurnBasedMatchConfig instance.
Sets the auto-match criteria for the match. See
createAutoMatchCriteria(int, int, long).
| autoMatchCriteria | The criteria for auto-matching one or more players for the
match. If null, the match is created with the invited players only. |
|---|
Sets the minimum number of players required to start the match.
| minPlayers | The minimum number of players this match can continue with. |
|---|
Sets the variant for the match. This is an optional, developer-controlled parameter
describing the type of game to play, and is used for auto-matching criteria. Must be
either a value from 1 to 1023 (inclusive), or MATCH_VARIANT_ANY
(the default) if not desired.
| variant | The variant for the match. |
|---|