NotificationManagerCompat.NotificationWithIdAndTag


public class NotificationManagerCompat.NotificationWithIdAndTag


Helper class which encapsulates a Notification, its id, and optionally a tag, for use when batch-posting a number of notifications.

Summary

Public constructors

NotificationWithIdAndTag(
    @Nullable String tag,
    int id,
    @NonNull Notification notification
)

Public constructors

NotificationWithIdAndTag

Added in 1.11.0
public NotificationWithIdAndTag(int id, @NonNull Notification notification)

NotificationWithIdAndTag

Added in 1.11.0
public NotificationWithIdAndTag(
    @Nullable String tag,
    int id,
    @NonNull Notification notification
)