Version.ECBlocks (ZXing 3.5.2 API)
Description: declaration: package: com.google.zxing.qrcode.decoder, class: Version, class: ECBlocks

Package com.google.zxing.qrcode.decoder

# Class Version.ECBlocks

java.lang.Object
com.google.zxing.qrcode.decoder.Version.ECBlocks

Enclosing class:
  Version

public static final class Version.ECBlocks extends Object

Encapsulates a set of error-correction blocks in one symbol version. Most versions will use blocks of differing sizes within one version, so, this encapsulates the parameters for each set of blocks. It also holds the number of error-correction codewords per block since it will be the same across all blocks within one version.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Version.ECB[]`
  `getECBlocks()`
  `int`
  `getECCodewordsPerBlock()`
  `int`
  `getNumBlocks()`
  `int`
  `getTotalECCodewords()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getECCodewordsPerBlock

    public int getECCodewordsPerBlock()

  - ### getNumBlocks

    public int getNumBlocks()

  - ### getTotalECCodewords

    public int getTotalECCodewords()

  - ### getECBlocks

    public Version.ECB[] getECBlocks()