Lines Matching defs:tag
44 * {@link String} tag parameter, which may be {@code null}. These parameters
45 * are used to form a pair (tag, id), or ({@code null}, id) if tag is
48 * of the notify methods with a (tag, id) pair that is currently active and
51 * be replaced with the new one. This is also the same tag and id you pass
114 * the same tag and id has already been posted by your application and has not yet been
117 * @param tag A string identifier for this notification. May be {@code null}.
118 * @param id An identifier for this notification. The pair (tag, id) must be unique
123 public void notify(String tag, int id, Notification notification)
136 service.enqueueNotificationWithTag(pkg, mContext.getBasePackageName(), tag, id,
148 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user)
161 service.enqueueNotificationWithTag(pkg, mContext.getBasePackageName(), tag, id,
185 public void cancel(String tag, int id)
191 service.cancelNotificationWithTag(pkg, tag, id, UserHandle.myUserId());
199 public void cancelAsUser(String tag, int id, UserHandle user)
205 service.cancelNotificationWithTag(pkg, tag, id, user.getIdentifier());