Added in version 37.2

NotificationEvent.NotificationEnqueuedEvent


public static final class NotificationEvent.NotificationEnqueuedEvent
extends NotificationEvent

java.lang.Object
   ↳ android.app.personalcontext.hint.NotificationEvent
     ↳ android.app.personalcontext.hint.NotificationEvent.NotificationEnqueuedEvent


An event representing a notification being enqueued in preparation for being posted.

Summary

Public methods

int getEventType()

NotificationChannel getNotificationChannel()
NotificationDetails getNotificationDetails()

Returns the details of the notification associated with this event.

Inherited methods

Public methods

getEventType

Added in version 37.2
public int getEventType ()

Returns
int Value is one of the following:

getNotificationChannel

Added in version 37.2
public NotificationChannel getNotificationChannel ()

Returns
NotificationChannel NotificationChannel the notification was posted to.
This value cannot be null.

getNotificationDetails

Added in version 37.2
public NotificationDetails getNotificationDetails ()

Returns the details of the notification associated with this event.

Returns
NotificationDetails This value cannot be null.