Class URLQRCode


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

      • URLQRCode

        public URLQRCode​(java.lang.String name,
                         java.lang.String url)
        This object represents a URL QR-code. Styling options can be set with the setter functions of the upper class.
        Parameters:
        name - Name of this code for the tag.
        url - Data to create the code from.
    • Method Detail

      • 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.