Reset
Deletes all items and records in the inbox.
Call Information
public void Clear (string tableCode, PlayNANOODelegate callback) {}
Call Details
| Parameter | Description | Type |
|---|---|---|
| tableCode | Table code | string |
| callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
string tableCode = "TABLE_CODE";
plugin.InboxManager.Clear(tableCode, (status, error, jsonString, values) =>
{
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log("Success");
}
else
{
Debug.Log("Fail");
}
});
}
}
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"status": "success"
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| status | Processing result | string |