Package-level declarations

Types

Link copied to clipboard
class CustomPageStorage(application: Application, pageStorageSettings: PageStorageSettings) : PageStorageBase

Implementation of PageStorageBase that is based on the custom directory

Link copied to clipboard
class InternalPageStorage(application: Application, pageStorageSettings: PageStorageSettings) : PageStorageBase

Implementation of PageStorageBase that is based on InternalFilesDir

Link copied to clipboard

Interface providing easy methods to work with Page image objects

Link copied to clipboard
data class Page(val pageId: String = UUID.randomUUID().toString(), val polygon: List<PointF> = emptyList(), val detectionStatus: DocumentDetectionStatus = DocumentDetectionStatus.OK, val filter: ImageFilterType = ImageFilterType.NONE, val parametricFilters: List<ParametricFilter> = emptyList(), val documentImageSizeLimit: Page.Size = Size(), val pageImageSource: PageImageSource = PageImageSource.UNDEFINED) : Parcelable, Serializable

Object which represents snapped document

Link copied to clipboard
open class PageFileStorage(pageStorageProcessor: PageStorageProcessor, pageStorage: LegacyPageStorage, fileIOProcessor: FileIOProcessor)

Interaction class which could operate with Page files

Link copied to clipboard
abstract class PageStorageBase(pageStorageSettings: PageStorageSettings) : LegacyPageStorage

Provides File directories for saving pages

Link copied to clipboard
open class PageStorageProcessor(documentScanner: DocumentScanner, pageStorage: LegacyPageStorage, pageStorageSettings: PageStorageSettings, imageFileIOProcessor: ImageFileIOProcessor) : PageStorageProcessor

Class that creates all inner structure for new page