Class Event.Source

  • Enclosing class:
    Event

    public static class Event.Source
    extends Object
    Source from which an event was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event.
    • Constructor Detail

      • Source

        public Source()
    • Method Detail

      • getUrl

        public String getUrl()
        The URL of the source pointing to a resource. The URL's protocol will be HTTP or HTTPS.
        Returns:
        the value or null if none.
      • getTitle

        public String getTitle()
        The title of the source; for example a title of a web page or an email subject.
        Returns:
        the value or null if none.