Sample.UrbanAirshipReceiver.OnNotificationOpened C# (CSharp) Method

OnNotificationOpened() protected method

protected OnNotificationOpened ( Context context, AirshipReceiver notificationInfo ) : bool
context Context
notificationInfo AirshipReceiver
return bool
        protected override bool OnNotificationOpened(Context context, AirshipReceiver.NotificationInfo notificationInfo)
        {
            Log.Info (TAG, "Notification opened. Alert: " + notificationInfo.Message.Alert + ". Notification ID: " + notificationInfo.NotificationId);

            // Return false here to allow Urban Airship to auto launch the launcher
            // activity for foreground notification action buttons
            return false;
        }

Same methods

UrbanAirshipReceiver::OnNotificationOpened ( Context context, AirshipReceiver notificationInfo, AirshipReceiver actionButtonInfo ) : bool