Class Notification


  • public class Notification
    extends java.lang.Object
    A class that represents how a persistent notification is to be presented to the user using the NotificationManager.

    Notifications can only be created by using the The Notification.Builder.

    Since:
    TotalCross 4.2.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Notification.Builder
      Builder class for Notification objects.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String text()
      The content text of this notification
      java.lang.String title()
      The title of this notification
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • title

        public java.lang.String title()
        The title of this notification
        Returns:
      • text

        public java.lang.String text()
        The content text of this notification
        Returns: