com.google.android.gms.games.multiplayer.Invitation |
![]()
|
Data interface for an invitation object.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | INVITATION_TYPE_REAL_TIME | Constant indicating that this invitation is for a real-time room. | |||||||||
int | INVITATION_TYPE_TURN_BASED | Constant indicating that this invitation is for a turn-based match. |
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the maximum number of available automatch slots for this invitation.
| |||||||||||
Retrieve the server timestamp at which this
Invitation was created.
| |||||||||||
Retrieve the
Game object that this Invitation is associated with.
| |||||||||||
Retrieve the ID of this
Invitation .
| |||||||||||
Retrieve the type of this
Invitation .
| |||||||||||
Retrieve the
Participant who created this Invitation .
| |||||||||||
Retrieve the variant specified for this
Invitation , if any.
|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||
![]()
| |||||||||||||||
![]()
|
Constant indicating that this invitation is for a real-time room.
Constant indicating that this invitation is for a turn-based match.
Return the maximum number of available automatch slots for this invitation. If automatch criteria were not specified during creation, or if all slots have been filled, this will return 0.
Retrieve the server timestamp at which this Invitation
was created.
Invitation
was created.
Retrieve the Game
object that this Invitation
is associated with.
Game
object for this Invitation
.
Retrieve the ID of this Invitation
.
Invitation
.
Retrieve the type of this Invitation
. May be either
INVITATION_TYPE_REAL_TIME
or INVITATION_TYPE_TURN_BASED
.
Invitation
.
Retrieve the Participant
who created this Invitation
.
Participant
who created this Invitation
.
Retrieve the variant specified for this Invitation
, if any. A variant is an optional
developer-controlled parameter describing the type of game to play. If specified, this value
will be a positive integer. If this invitation had no variant specified, returns
ROOM_VARIANT_DEFAULT
or MATCH_VARIANT_DEFAULT
.