Home | History | Annotate | Download | only in notify-user

Lines Matching full:notification

15   <li><a href="#Updating">Modify a Notification</a></li>
40 When you need to issue a notification multiple times for the same type of event, you
41 should avoid making a completely new notification. Instead, you should consider updating a
42 previous notification, either by changing some of its values or by adding to it, or both.
48 <h2 id="Updating">Modify a Notification</h2>
50 To set up a notification so it can be updated, issue it with a notification ID by
51 calling {@link android.app.NotificationManager#notify(int, Notification)
52 NotificationManager.notify(ID, notification)}. To update this notification once you've issued
54 build a {@link android.app.Notification} object from it, and issue the
55 {@link android.app.Notification} with the same ID you used previously.
58 The following snippet demonstrates a notification that is updated to reflect the
59 number of events that have occurred. It stacks the notification, showing a summary:
64 // Sets an ID for the notification, so it can be updated
75 // Because the ID remains unchanged, the existing notification is
90 The user dismisses the notification either individually or by using "Clear All" (if
91 the notification can be cleared).
94 The user touches the notification, and you called
96 you created the notification.
100 notification ID. This method also deletes ongoing notifications.