public class Games.Rooms
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Games.Rooms.Create |
class |
Games.Rooms.Decline |
class |
Games.Rooms.Dismiss |
class |
Games.Rooms.Get |
class |
Games.Rooms.Join |
class |
Games.Rooms.Leave |
class |
Games.Rooms.List |
class |
Games.Rooms.ReportStatus |
| Constructor and Description |
|---|
Games.Rooms() |
| Modifier and Type | Method and Description |
|---|---|
Games.Rooms.Create |
create(RoomCreateRequest content)
Create a room.
|
Games.Rooms.Decline |
decline(java.lang.String roomId)
Decline an invitation to join a room.
|
Games.Rooms.Dismiss |
dismiss(java.lang.String roomId)
Dismiss an invitation to join a room.
|
Games.Rooms.Get |
get(java.lang.String roomId)
Get the data for a room.
|
Games.Rooms.Join |
join(java.lang.String roomId,
RoomJoinRequest content)
Join a room.
|
Games.Rooms.Leave |
leave(java.lang.String roomId,
RoomLeaveRequest content)
Leave a room.
|
Games.Rooms.List |
list()
Returns invitations to join rooms.
|
Games.Rooms.ReportStatus |
reportStatus(java.lang.String roomId,
RoomP2PStatuses content)
Updates sent by a client reporting the status of peers in a room.
|
public Games.Rooms.Create create(RoomCreateRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the RoomCreateRequestjava.io.IOExceptionpublic Games.Rooms.Decline decline(java.lang.String roomId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.roomId - The ID of the room.java.io.IOExceptionpublic Games.Rooms.Dismiss dismiss(java.lang.String roomId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.roomId - The ID of the room.java.io.IOExceptionpublic Games.Rooms.Get get(java.lang.String roomId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.roomId - The ID of the room.java.io.IOExceptionpublic Games.Rooms.Join join(java.lang.String roomId, RoomJoinRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.roomId - The ID of the room.content - the RoomJoinRequestjava.io.IOExceptionpublic Games.Rooms.Leave leave(java.lang.String roomId, RoomLeaveRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.roomId - The ID of the room.content - the RoomLeaveRequestjava.io.IOExceptionpublic Games.Rooms.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic Games.Rooms.ReportStatus reportStatus(java.lang.String roomId, RoomP2PStatuses content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.roomId - The ID of the room.content - the RoomP2PStatusesjava.io.IOException