//Events: private void NotificationSlave_NotificationCancelledLollipop(object sender, NotificationCancelledEventArgsLollipop e) { try { CancelNotification(e.Key); } catch (Java.Lang.SecurityException) { Log.Info("LiveDisplay", "Fail to dismiss the notification, listener was not ready"); } }
//Events: private void NotificationSlave_NotificationCancelledLollipop(object sender, NotificationCancelledEventArgsLollipop e) { CancelNotification(e.Key); }
protected virtual void OnNotificationCancelled(NotificationCancelledEventArgsLollipop e) { NotificationCancelledLollipop?.Invoke(this, e); }