Package com.microblink.blinkid.view.ocrResult

# Interface IOcrResultView

All Superinterfaces:
  `com.microblink.blinkid.view.viewfinder.IDetectionView`

All Known Implementing Classes:
  `OcrResultCharsView`, `OcrResultDotsView`

public interface IOcrResultView extends com.microblink.blinkid.view.viewfinder.IDetectionView
Interface for views that can display `DisplayableOcrResult`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addOcrResult(DisplayableOcrResult result)`
  Adds new OCR result that will be displayed.
  `void`
  `setOcrResult(DisplayableOcrResult result)`
  Displays given OCR result and clears previously displayed content.

  ### Methods inherited from interface com.microblink.blinkid.view.viewfinder.IDetectionView

  `clearDisplayedContent, getView, setHostActivityOrientation`

- ## Method Details

  - ### addOcrResult

    void addOcrResult(@NonNull DisplayableOcrResult result)
    Adds new OCR result that will be displayed.
    Parameters:
      `result` - OCR result to display.

  - ### setOcrResult

    void setOcrResult(@NonNull DisplayableOcrResult result)
    Displays given OCR result and clears previously displayed content.
    Parameters:
      `result` - OCR result to display.