//qrcode-kotlin/qrcode.internals/QRCodeSquareInfo

QRCodeSquareInfo

[common]
data class QRCodeSquareInfo(val type: QRCodeSquareType, val region: QRCodeRegion)

Returns information on the square itself. It has the type of square and its region within its relative type.

For example, if type = POSITION_PROBE then region will represent where within the Position Probe this square is positioned. A region of QRCodeRegion.TOP_LEFT_CORNER for example represents the top left corner of the position probe this particular square is part of (a QRCode have 3 position probes).

Constructors

   
QRCodeSquareInfo [common]
constructor(type: QRCodeSquareType, region: QRCodeRegion)

Types

Name Summary
Companion [common]
object Companion

Properties

Name Summary
region [common]
val region: QRCodeRegion
type [common]
val type: QRCodeSquareType