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 . |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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 developer-specified match variant.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a builder for assembling a TurnBasedMatchConfig
.
Returns | |
---|---|
TurnBasedMatchConfig.Builder |
An instance of a builder. |
Creates an auto-match criteria Bundle
. Can be passed to
createMatch(GoogleApiClient, TurnBasedMatchConfig)
to create a match for a turn-based game.
Parameters | |
---|---|
minAutoMatchPlayers |
int :
min number of auto-matched players. |
maxAutoMatchPlayers |
int :
max number of auto-matched players. |
exclusiveBitMask |
long :
exclusive bitmask for exclusive roles for the player. The exclusive
bitmask of each pairing of players must equal zero for auto-match. |
Returns | |
---|---|
Bundle |
bundle of auto-match criteria data. |
Retrieves the criteria for auto-matching one or more players for the match.
Returns | |
---|---|
Bundle |
The criteria for auto-matching one or more players for the match. |
Retrieves the player IDs to invite to the match.
Returns | |
---|---|
String[] |
The player IDs to invite to the match. |
Retrieves the developer-specified match variant.
Returns | |
---|---|
int |
The developer-specified match variant. |