.NET Client Reference
Class GameRequests
Namespace: PlayerIOClient
Language: C# / .NET
The Player.IO GameRequests service
Properties | |||
---|---|---|---|
public GameRequest[] |
The list of oldest received requests that are waiting to be processed and deleted. |
||
Methods | |||
public void |
Delete the given requests. Will also update the WaitingRequests property after deletion is complete. |
||
public void |
Delete the given requests. Will also update the WaitingRequests property after deletion is complete. |
||
public void |
Delete the given requests. Will also update the WaitingRequests property after deletion is complete. |
||
public void |
Refresh the list of received requests. |
||
public void |
Refresh the list of received requests. |
||
public void |
Refresh the list of received requests. |
||
public void |
Send a GameRequest to the specified recipients |
||
public void |
Send a GameRequest to the specified recipients |
||
public void |
Send a GameRequest to the specified recipients |
||
public void |
Show a dialog to send GameRequests |
GameRequests.WaitingRequests
public GameRequest[] |
|
The list of oldest received requests that are waiting to be processed and deleted.
GameRequests.Delete
public void |
|
Delete the given requests. Will also update the WaitingRequests property after deletion is complete.
Arguments
GameRequest[] | requests |
The list of requests to delete. |
GameRequests.Delete
public void |
|
Delete the given requests. Will also update the WaitingRequests property after deletion is complete.
Arguments
GameRequest[] | requests |
The list of requests to delete. | |
Callback | successCallback |
Callback that will be called when the operation succeeds. |
GameRequests.Delete
public void |
|
Delete the given requests. Will also update the WaitingRequests property after deletion is complete.
Arguments
GameRequest[] | requests |
The list of requests to delete. | |
Callback | successCallback |
Callback that will be called when the operation succeeds. | |
Callback<PlayerIOError> | errorCallback |
Callback that will be called instead of successCallback if an error occurs during the operation. |
GameRequests.Refresh
public void |
|
Refresh the list of received requests.
Arguments
Callback | successCallback |
Callback that will be called when the operation succeeds. | |
Callback<PlayerIOError> | errorCallback |
Callback that will be called instead of successCallback if an error occurs during the operation. |
GameRequests.Refresh
public void |
|
Refresh the list of received requests.
Arguments
Callback | successCallback |
Callback that will be called when the operation succeeds. |
GameRequests.Refresh
public void |
|
Refresh the list of received requests.
GameRequests.Send
public void |
|
Send a GameRequest to the specified recipients
Arguments
string | requestType |
The request type of the request to send. | |
Dictionary<string, string> | requestData |
Data that will be available to the recipient of the request with information about the request. Useful for passing any kind of data to the recipient. | |
String[] | recipients |
The recipients to send this request to. | |
Callback | successCallback |
Callback that will be called when the operation succeeds. |
GameRequests.Send
public void |
|
Send a GameRequest to the specified recipients
Arguments
string | requestType |
The request type of the request to send. | |
Dictionary<string, string> | requestData |
Data that will be available to the recipient of the request with information about the request. Useful for passing any kind of data to the recipient. | |
params String[] | recipients |
The recipients to send this request to. |
GameRequests.Send
public void |
|
Send a GameRequest to the specified recipients
Arguments
string | requestType |
The request type of the request to send. | |
Dictionary<string, string> | requestData |
Data that will be available to the recipient of the request with information about the request. Useful for passing any kind of data to the recipient. | |
String[] | recipients |
The recipients to send this request to. | |
Callback | successCallback |
Callback that will be called when the operation succeeds. | |
Callback<PlayerIOError> | errorCallback |
Callback that will be called instead of successCallback if an error occurs during the operation. |
GameRequests.ShowSendDialog
public void |
|
Show a dialog to send GameRequests
Arguments
string | requestType |
The request type of the request to send. | |
Dictionary<string, string> | requestData |
Data that will be available to the recipient of the request with information about the request. Useful for passing any kind of data to the recipient. | |
Callback<GameRequestSendDialogResult> | callback |
Callback that will be called when the dialog close, with information about the requests sent. NOTE: There is no way to tell if the end-user copied a link and sent it to another player. |