Contents

init(payload:rowCount:columnCount:eccVersion:)

Initializes a Data Matrix code descriptor for the given payload and parameters.

Declaration

init?(payload errorCorrectedPayload: Data, rowCount: Int, columnCount: Int, eccVersion: CIDataMatrixCodeDescriptor.ECCVersion)

Parameters

  • errorCorrectedPayload:

    The data to encode in the Data Matrix code symbol.

  • rowCount:

    The number of rows in the Data Matrix code symbol.

  • columnCount:

    The number of columns in the Data Matrix code symbol.

  • eccVersion:

    The Eccversion Swift.enum for the Data Matrix code symbol.

Return Value

An initialized CIAztecCodeDescriptor instance or nil if the parameters are invalid