Lines Matching refs:Notification
103 class NotificationSubscriber : public Notification::NotificationLocalLiveViewSubscriber {
106 void OnResponse(int32_t notificationId, sptr<Notification::NotificationButtonOption> buttonOption) {}
671 int32_t ret = Notification::NotificationHelper::CancelNotification(0);
2065 int32_t ret = Notification::NotificationHelper::CancelNotification(0);
2834 int32_t result = Notification::NotificationHelper::SubscribeLocalLiveViewNotification(NOTIFICATION_SUBSCRIBER);
2837 Notification::NotificationRequest request;
2838 std::shared_ptr<Notification::NotificationLocalLiveViewContent> localLiveViewContent =
2839 std::make_shared<Notification::NotificationLocalLiveViewContent>();
2845 std::shared_ptr<Notification::NotificationContent> content =
2846 std::make_shared<Notification::NotificationContent>(localLiveViewContent);
2850 request.SetSlotType(Notification::NotificationConstant::SlotType::LIVE_VIEW);
2861 result = Notification::NotificationHelper::PublishNotification(request);