文件最后提交记录最后更新时间
!887 README整改 * readme update 3 年前
!887 README整改 * readme update 3 年前
!612 common/Notification适配API8 * modify readme * adapt Notification 4 年前
!964 README整改 * update readme 3 年前
!612 common/Notification适配API8 * modify readme * adapt Notification 4 年前
!612 common/Notification适配API8 * modify readme * adapt Notification 4 年前
!887 README整改 * readme update 3 年前
README.md

Notification

Introduction

This sample shows how to create and delete a slot in eTS, and how to publish and cancel a notification.

Usage

  1. Touch Add slot. After the slot is added, the message "Add slot succeed" is displayed.

  2. Select the type of notification you want to publish and touch Publish notification. The published notification icon is displayed in the notification panel. You can swipe down the notification panel to view the notification content.

  3. Swipe down the notification panel, and touch the published notification or the button in the notification to go to the app screen.

  4. Touch Cancel the last notification to cancel the last published notification.

  5. Touch Cancel all notification to cancel all published notifications.

Constraints

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