com.google.android.gms.games.request.GameRequest |
![]()
|
Data interface for game requests.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | RECIPIENT_STATUS_ACCEPTED | Constant indicating that the request has been accepted. | |||||||||
int | RECIPIENT_STATUS_PENDING | Constant indicating that the request is still pending. | |||||||||
int | STATUS_ACCEPTED | Constant indicating that this request has been accepted. | |||||||||
int | STATUS_PENDING | Constant indicating that this request has not been acted on yet. | |||||||||
int | TYPE_ALL | Array of all the request type constants. | |||||||||
int | TYPE_GIFT | Request type indicating that the sender is giving something to the recipient. | |||||||||
int | TYPE_WISH | Request type indicating that the sender is asking for something from the recipient. |
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the data associated with the request.
| |||||||||||
Retrieves the game associated with this request.
| |||||||||||
Retrieves the status of the request for a given recipient.
| |||||||||||
Retrieves the information about all the players that the request was sent to.
| |||||||||||
Retrieves the ID of this request.
| |||||||||||
Retrieves the information about the player that sent the request.
| |||||||||||
Retrieves the status of the request as an overall status depending on all recipients.
| |||||||||||
Retrieves the type of this request.
| |||||||||||
Retrieves whether the request was consumed by a specific recipient.
|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||
![]()
|
Constant indicating that the request has been accepted.
Constant indicating that the request is still pending.
Constant indicating that this request has been accepted. Note - not being returned from server at the moment.
Constant indicating that this request has not been acted on yet.
Array of all the request type constants.
Request type indicating that the sender is giving something to the recipient.
Request type indicating that the sender is asking for something from the recipient.
Retrieves the data associated with the request.
Retrieves the game associated with this request.
Retrieves the status of the request for a given recipient.
playerId | The player ID for which the consumed state should be queried. |
---|
RECIPIENT_STATUS_ACCEPTED
or RECIPIENT_STATUS_PENDING
.
Retrieves the information about all the players that the request was sent to.
Retrieves the ID of this request.
Retrieves the information about the player that sent the request.
Retrieves the status of the request as an overall status depending on all recipients.
STATUS_ACCEPTED
or
STATUS_PENDING
.
Retrieves whether the request was consumed by a specific recipient.
playerId | The player ID for which the consumed state should be queried. |
---|