Class TelephoneNumberQRCode


  • public class TelephoneNumberQRCode
    extends QRCode
    This class is a subclass of QRCode and is used to generate a telephone number QR-code element.
    • Constructor Detail

      • TelephoneNumberQRCode

        public TelephoneNumberQRCode​(java.lang.String name,
                                     java.lang.String number)
        This object represents a telephone number QR-code. Styling options can be set with the setter functions of the upper class.
        Parameters:
        name - Name of this code for the tag.
        number - Phone number 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.