跳到主要内容

删除本地推送(DeleteLocalNotifications)

[Player Network SDK & MSDK] 通过 AddLocalNotification 返回的 key 删除本地通知。

支持的平台​

支持iOS 平台。

函数定义​

void DeleteLocalNotifications (string key);

入参说明​

参数类型说明
keystringkey 为 AddLocalNotification 使用的 NotificationID

代码示例​

UnionAdapterAPI.GetPushService().DeleteLocalNotifications("key");