Notification 需要 NotificatinManager 来管理
使用 NotificationManager 的 notify() 方法显示 notification 消息
在显示 Notification 时可以设置通知时的默认发声、震动等
调用 Notification 对象中的 clear() 方法可以清除消息
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题