protected override bool OnNotificationOpened(Context context, AirshipReceiver.NotificationInfo notificationInfo, AirshipReceiver.ActionButtonInfo actionButtonInfo) { Log.Info (TAG, "User clicked notification button. Button ID: " + actionButtonInfo.ButtonId + " Alert: " + notificationInfo.Message.Alert); // Return false here to allow Urban Airship to auto launch the launcher // activity for foreground notification action buttons return false; }
protected override void OnNotificationPosted(Context context, AirshipReceiver.NotificationInfo notificationInfo) { Log.Info (TAG, "Notification posted. Alert: " + notificationInfo.Message.Alert + ". Notification ID: " + notificationInfo.NotificationId); }