public interface WebNotificationDelegate
Modifier and Type | Method and Description |
---|---|
default void |
onCloseNotification(WebNotification notification)
This is called when an existing notification is closed.
|
default void |
onShowNotification(WebNotification notification)
This is called when a new notification is created.
|
@AnyThread default void onShowNotification(@NonNull WebNotification notification)
notification
- The WebNotification received.@AnyThread default void onCloseNotification(@NonNull WebNotification notification)
notification
- The WebNotification received.