public void OnNotificationBackgroundAction(NotificationInfo notificationInfo, NotificationActionButtonInfo actionButtonInfo) { Log.Info(TAG, "User clicked notification button in the background. Button ID: " + actionButtonInfo.ButtonId + " Alert: " + notificationInfo.Message.Alert); }
public bool OnNotificationForegroundAction(NotificationInfo notificationInfo, NotificationActionButtonInfo actionButtonInfo) { Log.Info(TAG, "User clicked notification button in the foreground. Button ID: " + actionButtonInfo.ButtonId + " Alert: " + notificationInfo.Message.Alert); // Return false here to allow Airship to auto launch the launcher // activity for foreground notification action buttons return(false); }