Added in API level 37.2
NotificationEnqueuedEvent
class NotificationEnqueuedEvent : NotificationEvent
| kotlin.Any | ||
| ↳ | 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 | |
| NotificationChannel | |
| NotificationDetails |
Returns the details of the notification associated with this event. |
Public methods
getEventType
Added in API level 37.2
fun getEventType(): Int
| Return | |
|---|---|
Int |
Value is one of the following:
|
getNotificationChannel
Added in API level 37.2
fun getNotificationChannel(): NotificationChannel
| Return | |
|---|---|
NotificationChannel |
NotificationChannel the notification was posted to. This value cannot be null. |
getNotificationDetails
Added in API level 37.2
fun getNotificationDetails(): NotificationDetails
Returns the details of the notification associated with this event.
| Return | |
|---|---|
NotificationDetails |
This value cannot be null. |