DeleteLocalNotifications
[Player Network SDK & MSDK] Deletes the local notification through the key used by AddLocalNotification.
Supported Platform
- 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
| Parameter | Type | Description |
|---|---|---|
| key | string | key returned by AddLocalNotification |
| Parameter | Type | Description |
|---|---|---|
| key | string | key returned by AddLocalNotification |
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetPushService().DeleteLocalNotifications("key");
GUA_NAMESPACE::GUAPushService::DeleteLocalNotifications("Key");