Delete Token
Deletes the user's push token registered on the server.
Call Information
PushNotification.Remove(PlayNANOODelegate callback) {}
Call Details
| Parameter | Description | Type |
|---|---|---|
| callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Start()
{
plugin = Plugin.GetInstance();
plugin.PushNotification.Remove((status, errorCode, 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" : "String"
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| Status | Processing result | string |