onNotification

abstract fun onNotification(event: NotificationEvent, info: String)

This method is called when the payment application sends a notification.

Note! Notification can occur during a transaction. Since the payment application must not be disturbed during a transaction, it is important that the POS application handles notifications in the background.

Parameters

event

The type of event that has occurred.

info

Optional extra text accompanying the notification. See each entry in NotificationEvent for more information.