Class OcrBlock

java.lang.Object
com.microblink.blinkid.results.ocr.OcrBlock
All Implemented Interfaces:
android.os.Parcelable

public class OcrBlock extends Object implements android.os.Parcelable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final android.os.Parcelable.Creator<OcrBlock>
     

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    OcrBlock(long nativePtr, OcrResult parentResult)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
     
     
     
    void
    writeToParcel(android.os.Parcel dest, int flags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • CREATOR

      @NonNull public static final android.os.Parcelable.Creator<OcrBlock> CREATOR
  • Constructor Details

    • OcrBlock

      public OcrBlock(long nativePtr, @Nullable OcrResult parentResult)
  • Method Details

    • getPosition

      @Nullable public Rectangle getPosition()
      Returns:
      the position
    • getLines

      @Nullable public OcrLine[] getLines()
      Returns:
      the lines
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object
    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable