ScanResult

data class ScanResult @JvmOverloads constructor(var multiPageDocument: File? = null, var scans: List<ScanResult.Scan>? = null) : Serializable

Result of the scan flow

Constructors

Link copied to clipboard
constructor(multiPageDocument: File? = null, scans: List<ScanResult.Scan>? = null)

Types

Link copied to clipboard
data class OcrResult(val text: String?, val hocrTextLayout: String?) : Serializable
Link copied to clipboard
data class Scan(val originalImageFile: File, val enhancedImageFile: File, val ocrResult: ScanResult.OcrResult? = null, val structuredDataResult: StructuredDataResult? = null) : Serializable

A single page that was scanned during the scan flow.

Properties

Link copied to clipboard

Document containing the pages that were scanned during the scan flow. The format is specified by {ScanConfiguration.multiPageFormat. Can be null if no format was specified or if generation failed.

Link copied to clipboard

List of pages that were scanned during the scan flow.