Class ScanResult

  • All Implemented Interfaces:
    android.os.Parcelable

    public class ScanResult
    extends java.lang.Object
    implements android.os.Parcelable
    Result of the scan flow
    • Nested Class Summary

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

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<ScanResult> CREATOR  
      java.util.List<com.geniusscansdk.scanflow.Page> pages
      List of pages that were scanned during the scan flow.
      java.io.File pdfFile
      PDF file that was generated during the scan flow.
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      ScanResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int describeContents()  
      void writeToParcel​(android.os.Parcel dest, int flags)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pdfFile

        @Nullable
        public java.io.File pdfFile
        PDF file that was generated during the scan flow. Can be null if no PDF file was generated.
      • pages

        public java.util.List<com.geniusscansdk.scanflow.Page> pages
        List of pages that were scanned during the scan flow.
      • CREATOR

        public static final android.os.Parcelable.Creator<ScanResult> CREATOR
    • Constructor Detail

      • ScanResult

        public ScanResult()
    • Method Detail

      • describeContents

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

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