Class EventQRCode


  • public class EventQRCode
    extends QRCode
    This class is a subclass of QRCode and is used to generate an event QR-code element
    • Constructor Detail

      • EventQRCode

        public EventQRCode​(java.lang.String name,
                           java.lang.String summary,
                           java.lang.String startdate,
                           java.lang.String enddate)
        This object represents a Event QR Code. Use null if you don't want to specify an option. Styling options can be set with the setter functions of the upper class.
        Parameters:
        name - Name of this code for the tag.
        summary - Summary of the event.
        startdate - Latitude.
        enddate - Altitude.
    • Method Detail

      • getStartDate

        public java.lang.String getStartDate()
        Returns:
        Starting date of the event.
      • setStartDate

        public void setStartDate​(java.lang.String startDate)
        Parameters:
        startDate - Starting date of the event.
      • getEndDate

        public java.lang.String getEndDate()
        Returns:
        Ending date of the event.
      • setEndDate

        public void setEndDate​(java.lang.String endDate)
        Parameters:
        endDate - Ending date of the event.
      • getJSON

        public com.google.gson.JsonObject getJSON()
        Overrides:
        getJSON in class QRCode
        Returns:
        JSONObject with the tags for this element for the Cloud Office Print server.