mask

val mask: Int

The index of the mask pattern used in this QR Code, which is between 0 and 7 (inclusive).

Even if a QR Code is created with automatic masking requested (mask = −1), the resulting object still has a mask value between 0 and 7.