通过FCM处理Android系统托盘通知

时间:2018-03-11 14:04:37

标签: android firebase push-notification firebase-cloud-messaging

我正从我的服务器发送通知和数据有效负载,并在Android系统托盘中生成通知。但如果我想删除特定通知,如果用户通过应用程序读取该对话而不是通过单击系统托盘项目,那么如何找到该notificationId来编写类似notificationManager.Cancel(notificationId)的代码而不是notificationManager.CancelAll()

0 个答案:

没有答案