Class AirPrintDestination.Builder

    • Method Detail

      • forceTls

        public AirPrintDestination.Builder forceTls​(Boolean forceTls)
        “If true AirPrint connections are secured by Transport Layer Security (TLS). Default is false. Available in iOS 11.0 and later.”
        Parameters:
        forceTls - value of forceTls property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • ipAddress

        public AirPrintDestination.Builder ipAddress​(String ipAddress)
        “The IP Address of the AirPrint destination.”
        Parameters:
        ipAddress - value of ipAddress property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • port

        public AirPrintDestination.Builder port​(Integer port)
        “The listening port of the AirPrint destination. If this key is not specified AirPrint will use the default port. Available in iOS 11.0 and later.”
        Parameters:
        port - value of port property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resourcePath

        public AirPrintDestination.Builder resourcePath​(String resourcePath)
        “The Resource Path associated with the printer. This corresponds to the rp parameter of the _ipps.tcp Bonjour record. For example: printers/Canon_MG5300_ series, printers/Xerox_Phaser_7600, ipp/print, Epson_IPP_Printer.”
        Parameters:
        resourcePath - value of resourcePath property (as defined in service metadata)
        Returns:
        this (for method chaining)