文件最后提交记录最后更新时间
增强消息通知示例 Signed-off-by: aibin <aibin@openvalley.net> 2 年前
修改模块级配置文件解决编译失败问题 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
修复配置文件 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
回退 'Pull Request !3621 : 回退 'Pull Request !3592 : [Sample] CustomNotification arkts语法适配 '' 2 年前
CustomNotificationBadge及CustomNotification功能整合 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> 2 年前
增强消息通知示例 Signed-off-by: aibin <aibin@openvalley.net> 2 年前
修改失效链接 Signed-off-by: yuandongping <yuandongping@huawei.com> 1 年前
断链修复 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
Bugfix: 合并修改 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> Bugfix: 事件通知CustomNotificationBadge仓ArkTs整改 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> Bugfix: CustomCommonEvent仓ArkTs整改-补充 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> Bugfix: CustomEmitter仓ArkTs整改-补充 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> Bugfix: CommonEvent仓Arkts整改-修正 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> Bugfix: 回退launcher相关的误提交 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> Bugfix: ArkTs整改-评论意见修复 Signed-off-by: xuzhihao <xuzhihao16@huawei.com> 2 年前
Issue: \#I6DR14 Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
Audio、Screen、StorageStatistic、CustomNotification、AppAccountManager、ArkTSDistributedMusicPlayer ohpm迁移 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 3 年前
Audio、Screen、StorageStatistic、CustomNotification、AppAccountManager、ArkTSDistributedMusicPlayer ohpm迁移 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 3 年前
Audio、Screen、StorageStatistic、CustomNotification、AppAccountManager、ArkTSDistributedMusicPlayer ohpm迁移 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 3 年前
CustomNotification测试用例 Signed-off-by: yanhuan <yanhuan15@huawei.com> 3 年前
README.md

Custom Notification

Introduction

This sample shows how to enable the notification feature and how to publish and cancel notifications of various types.

How to Implement

  1. Implement the notification sender functions as instructed in Notification.

  2. Implement the APIs described in @ohos.notification (Notification).

How to Use

  1. Start the app. When prompted to allow the app to send notifications, touch the Allow button.

  2. To publish a notification, touch the button corresponding to the type of notification you want to publish. Swipe down from the status bar to view the published notifications.

  3. Touch Cancel all notifications to cancel all notifications published by the app.

Display Effect

homenotificationsnotifications_expanded

Required Permissions

N/A

Dependency

N/A

Constraints

  1. This sample can only be run on standard-system devices.

  2. This sample supports only the SDK of API version 9 (SDK version: 3.2.11.9).

  3. DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) must be used.