【问题标题】:What the difference between clearall() or cancelall() for local notifications in ionic 2ionic 2中本地通知的clearall()或cancelall()有什么区别
【发布时间】:2017-11-10 03:03:01
【问题描述】:

正如我在本地通知文档中看到的,删除通知有 2 个功能?

第一个 clearall();

第二个cancelall();

那么它们之间有什么不同,我应该使用什么面糊而不是其他?

【问题讨论】:

    标签: ionic2 localnotification


    【解决方案1】:

    我不熟悉这个 Ionic 插件,但基于 the source code,看起来 clearAll() 只删除了触发的通知,而cancelAll() 删除了所有 其中。

    【讨论】:

    猜你喜欢
    • 2017-08-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-26
    • 2017-01-27
    • 2018-06-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多