Delete local notifications (DeleteLocalNotifications)
[Player Network SDK & MSDK] Delete local notification using the key returned by AddLocalNotification.
Supported platforms
- Unity
- Unreal Engine
Supports
iOS platform.Supports
iOS platform.Function Definition
- Unity
- Unreal Engine
void DeleteLocalNotifications (string key);
static void DeleteLocalNotifications(const std::string &key);
Input Parameters
- Unity
- Unreal Engine
| Parameters | Type | Description |
|---|---|---|
| key | string | key is the NotificationID used by AddLocalNotification |
| Parameters | Type | Description |
|---|---|---|
| key | string | key is the NotificationID used by AddLocalNotification |
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetPushService().DeleteLocalNotifications("key");
GUA_NAMESPACE::GUAPushService::DeleteLocalNotifications("Key");