using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace gehGassi.LocalNotifications { /// /// Android Einstellungen /// public class AndroidOptions { /// /// Id des Kanals /// public string ChannelId { get; set; } = Constants.DEFAULT_CHANNEL_ID; /// /// Name des Kanals /// public string ChannelName { get; set; } = "General"; /// /// Erlaubt wenn Idle /// public bool AllowWhileIdle { get; set; } /// /// Auto-Stornierung /// public bool AutoCancel { get; set; } = true; /// /// Aktion die ausgeführt werden soll. /// None, CreateIfNotExists, Update /// public NotificationChannelAction ChannelAction { get; set; } = NotificationChannelAction.None; /// /// Sound abspielen /// public bool PlaySound { get; set; } /// /// Sound der abgespielt werden soll /// public string Sound { get; set; } /// /// Vibration aktivieren /// public bool EnableVibration { get; set; } = true; /// /// Vibrations-Typ /// public long[] VibrationPatern { get; set; } /// /// Icon das angezeigt werden soll /// public string IconName { get; set; } /// /// Farbe /// public int? Color { get; set; } /// /// Soll LED aktiviert werden? /// public bool EnableLights { get; set; } = true; /// /// Soll ein Badge angezeigt werden? /// public bool ShowBadge { get; set; } = true; /// /// Wiederholt? /// public bool OnGoing { get; set; } = false; /// /// Priorität der Nachricht /// public NotificationPriority Priority { get; set; } = NotificationPriority.High; /// /// Timeout der Nachricht /// public TimeSpan? TimeoutAfter { get; set; } } }