Class NotificationCenter

java.lang.Object
NotificationCenter

public class NotificationCenter extends Object
class NotificationCenter - Beschrijft het notificationcentre op de iPhone
Version:
2023-01-29
Author:
Dominiek Vandewalle
  • Constructor Details

    • NotificationCenter

      public NotificationCenter()
      Constructor voor objecten van de klasse NotificationCenter.
  • Method Details

    • notificationToevoegen

      public void notificationToevoegen(Notification notification)
      Voegt een notification toe aan de lijst van notifications
      Parameters:
      notification - de nieuwe notification
    • notificationLezen

      public void notificationLezen(int index)
      Zet de notification op de gegeven index op gelezen.
      Parameters:
      index - de index van de gelezen notification
    • print

      public void print()
      Toont alle notifications in het Terminalvenster.
    • printPrioriteit

      public void printPrioriteit(String prioriteit)
      Toont alle niet gelezen notifications met een gegeven prioriteit in het terminalvenster.
      Parameters:
      prioriteit - de prioriteit die de notification moet bevatten.
    • printCalenderNotifications

      public void printCalenderNotifications()
      Toont alle notifications van het type CalendarNotification in het Terminalvenster.