# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods
- Deprecated Enum Constants

- Deprecated Classes
  Class and Description
  com.google.zxing.common.detector.MonochromeRectangleDetector without replacement since 3.3.0

- Deprecated Methods
  Method and Description
  com.google.zxing.oned.Code93Writer.appendPattern(boolean[], int, int[], boolean) without replacement; intended as an internal-only method
  com.google.zxing.oned.rss.AbstractRSSReader.count(int[]) call `MathUtils.sum(int[])`
  com.google.zxing.pdf417.PDF417Common.getBitCountSum(int[]) call `MathUtils.sum(int[])`
  com.google.zxing.client.result.EmailAddressParsedResult.getEmailAddress() use `EmailAddressParsedResult.getTos()`
  com.google.zxing.client.result.CalendarParsedResult.getEnd() use `CalendarParsedResult.getEndTimestamp()`
  com.google.zxing.client.result.EmailAddressParsedResult.getMailtoURI() without replacement
  com.google.zxing.pdf417.PDF417ResultMetadata.getOptionalData() use dedicated already parsed fields
  com.google.zxing.client.result.CalendarParsedResult.getStart() use `CalendarParsedResult.getStartTimestamp()`
  com.google.zxing.qrcode.detector.FinderPatternFinder.handlePossibleCenter(int[], int, int, boolean) only exists for backwards compatibility
  com.google.zxing.pdf417.PDF417ResultMetadata.setOptionalData(int[]) parse and use new fields
  com.google.zxing.common.BitMatrix.toString(String, String, String) call `BitMatrix.toString(String,String)` only, which uses \n line separator always
  com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(BitMatrix, String, File) use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path)`
  com.google.zxing.client.j2se.MatrixToImageWriter.writeToFile(BitMatrix, String, File, MatrixToImageConfig) use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path, MatrixToImageConfig)`

- Deprecated Enum Constants
  Enum Constant and Description
  com.google.zxing.EncodeHintType.MAX_SIZE without replacement
  com.google.zxing.EncodeHintType.MIN_SIZE use width/height params in `DataMatrixWriter.encode(String, BarcodeFormat, int, int)`

Copyright © 2007–2018. All rights reserved.