public class Games.Players
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Games.Players.Get |
class |
Games.Players.List |
| Constructor and Description |
|---|
Games.Players() |
| Modifier and Type | Method and Description |
|---|---|
Games.Players.Get |
get(java.lang.String playerId)
Retrieves the Player resource with the given ID.
|
Games.Players.List |
list(java.lang.String collection)
Get the collection of players for the currently authenticated user.
|
public Games.Players.Get get(java.lang.String playerId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.playerId - A player ID. A value of me may be used in place of the authenticated player's ID.java.io.IOExceptionpublic Games.Players.List list(java.lang.String collection) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.collection - Collection of players being retrievedjava.io.IOException