33 lines
854 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gehGassi.LocalNotifications
{
public delegate void NotificationTappedEventHandler(NotificationEventArgs e);
public delegate void NotificationReceivedEventHandler(NotificationEventArgs e);
/// <summary>
/// Eventargs für eine Notifications
/// </summary>
public class NotificationEventArgs : EventArgs
{
/// <summary>
/// ID der Nachricht
/// </summary>
public int? NotificationId { get; set; }
/// <summary>
/// Payload
/// </summary>
public string Payload { get; set; }
/// <summary>
/// Handel es sich um eine lokale Pushn-Notification?
/// </summary>
public bool IsLocal { get; set; }
}
}