Skip to main content
Version: 5.7.0

DeleteIncomingEventsOlderThan

Delete any events older than the given date out of the user's incoming mailbox.

ServiceOperation
eventDELETE_INCOMING_EVENTS_OLDER_THAN

Method Parameters

ParameterDescription
dateMilliscreatedAt cut-off time whereby older events will be deleted

Usage

http://localhost:3000
int dateMillis = 1619804426154;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.EventService.DeleteIncomingEventsOlderThan(dateMillis, successCallback, failureCallback);
JSON Response
{
"data": {
"deleted": true,
"deletedCount": 2
},
"status": 200
}