Class SMSQRCode


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

      • SMSQRCode

        public SMSQRCode​(java.lang.String name,
                         java.lang.String receiver,
                         java.lang.String body)
        This object represents a SMS QR-code. Styling options can be set with the setter functions of the upper class.
        Parameters:
        name - Name of this code for the tag.
        receiver - Phone number of the receiver.
        body - Body of the SMS.
    • Method Detail

      • getBody

        public java.lang.String getBody()
        Returns:
        Body of the SMS.
      • setBody

        public void setBody​(java.lang.String body)
        Parameters:
        body - Body of the SMS.
      • 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.