Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This class contains static methods that should be used to interface with plugins (Cordova, React Native...).

Link copied to clipboard
Link copied to clipboard
Custom view group used as the root view of the Camera Preview screen in portrait mode.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ScanConfiguration(var source: ScanConfiguration.Source = Source.CAMERA, var sourceImage: File? = null, var multiPage: Boolean = true, var defaultFilter: ScanConfiguration.Filter = Filter.AUTOMATIC, var availableFilters: List<ScanConfiguration.Filter> = listOf( Filter.NONE, Filter.AUTOMATIC, Filter.AUTOMATIC_MONOCHROME, Filter.AUTOMATIC_BLACK_AND_WHITE, Filter.AUTOMATIC_COLOR, Filter.PHOTO ), var pdfPageSize: ScanConfiguration.PdfPageSize = PdfPageSize.FIT, var postProcessingActions: EnumSet<ScanConfiguration.Action> = Action.ALL, var defaultCurvatureCorrection: ScanConfiguration.CurvatureCorrectionMode = CurvatureCorrectionMode.DISABLED, var photoLibraryButtonHidden: Boolean = false, var flashButtonHidden: Boolean = false, var defaultFlashMode: ScanConfiguration.FlashMode = FlashMode.OFF, var backgroundColor: Int = Color.BLACK, var foregroundColor: Int = Color.WHITE, var highlightColor: Int = Color.BLUE, var jpegQuality: Int = 60, var pdfMaxScanDimension: Int = 0, var multiPageFormat: ScanConfiguration.MultiPageFormat = MultiPageFormat.PDF, var pdfFontFile: File? = null, var ocrConfiguration: ScanConfiguration.OcrConfiguration? = null, var structuredData: EnumSet<ScanConfiguration.StructuredData> = EnumSet.noneOf(StructuredData::class.java), useLegacyCameraAPI: Boolean = false) : Serializable

Options allowing to customize the scan flow

Link copied to clipboard
object ScanFlow
Link copied to clipboard
data class ScanResult @JvmOverloads constructor(var multiPageDocument: File? = null, var scans: List<ScanResult.Scan>? = null) : Serializable

Result of the scan flow