java.lang.Object | |
↳ | com.google.android.gms.games.multiplayer.turnbased.TurnBasedMatchConfig |
Configuration for creating a new turn-based match.
Nested Classes | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TurnBasedMatchConfig.Builder | Builder class for TurnBasedMatchConfig . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder for assembling a
TurnBasedMatchConfig . | |||||||||||
Creates an auto-match criteria
Bundle . | |||||||||||
Retrieves the criteria for auto-matching one or more players for the match.
| |||||||||||
Retrieves the player IDs to invite to the match.
| |||||||||||
Retrieves the minimum number of players that must be active in the match for the match to
continue.
| |||||||||||
Retrieves the developer-specified match variant.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a builder for assembling a TurnBasedMatchConfig
.
Creates an auto-match criteria Bundle
. Can be passed to
createMatch(GoogleApiClient, TurnBasedMatchConfig)
to create a match for a turn-based game.
minAutoMatchPlayers | min number of auto-matched players. |
---|---|
maxAutoMatchPlayers | max number of auto-matched players. |
exclusiveBitMask | exclusive bitmask for exclusive roles for the player. The exclusive bitmask of each pairing of players must equal zero for auto-match. |
Retrieves the criteria for auto-matching one or more players for the match.
Retrieves the player IDs to invite to the match.
Retrieves the minimum number of players that must be active in the match for the match to continue.
Retrieves the developer-specified match variant.