Added in version 37.2
NotificationEvent
public
abstract
class
NotificationEvent
extends Object
| java.lang.Object | |
| ↳ | android.app.personalcontext.hint.NotificationEvent |
Base class for notification-related events.
Summary
Nested classes | |
|---|---|
class |
NotificationEvent.NotificationEnqueuedEvent
An event representing a notification being enqueued in preparation for being posted. |
class |
NotificationEvent.NotificationRemovedEvent
An event representing a notification being removed. |
Public methods | |
|---|---|
abstract
NotificationDetails
|
getNotificationDetails()
Returns the details of the notification associated with this event. |
Inherited methods | |
|---|---|
Public methods
getNotificationDetails
Added in version 37.2
public abstract NotificationDetails getNotificationDetails ()
Returns the details of the notification associated with this event.
| Returns | |
|---|---|
NotificationDetails |
This value cannot be null. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-28 UTC.
[null,null,["Last updated 2026-08-28 UTC."],[],[]]