addCodetextWithCompactionMode
addCodetextWithCompactionMode(mode, codetext)
Adds codetext with the specified QR compaction mode to the extended codetext items.
| Parameter | Description |
|---|---|
| mode | QR compaction mode for the codetext. |
| codetext | Codetext in Unicode to add as an extended codetext item. |
Throws: IllegalArgumentException The specified codetext cannot be encoded in the selected QR compaction mode.