Interface: InitialNotification

An interface representing a notification & action that launched the current app / or Android activity.

View the App open events documentation to learn more.

This interface is returned from getInitialNotification when an initial notification is available.

Deprecated for iOS in favour of onForegroundEvent

Platform

android

Properties

input?

optional input: string

The input from a notification action.

The input detail is available when the EventType is:

Platform

android API Level >= 20

notification

notification: Notification

The notification which the user interacted with, which caused the application to open.

pressAction

pressAction: NotificationPressAction

The press action which the user interacted with, on the notification, which caused the application to open.