跳到主要内容

删除本地推送(DeleteLocalNotifications)

iOS
如果您使用的是 Unity 引擎,请参见 Unity SDK 的 DeleteLocalNotifications。

通过 AddLocalNotification 使用的 NotificationID 来删除本地推送。

函数定义​

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void DeleteLocalNotifications(const FString Key);

入参说明​

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

代码示例​

UINTLSDKAPI::DeleteLocalNotifications("123");