public static class MultiPageImageCaptureScenario.Result
Provides access to the result of a multipage document capture.
@WorkerThread @NotNull public java.util.List<java.lang.String> getPages()
Returns all the pages identifiers in the storage.
@WorkerThread @Nullable public android.graphics.Bitmap loadImage(@NotNull java.lang.String pageId)
Returns the captured and cropped image for the specified page.
pageId
- Identifier of the page.@WorkerThread @Nullable public android.graphics.Point[] loadBoundary(@NotNull java.lang.String pageId)
Returns the document boundary for the specified page.
pageId
- Identifier of the page.@WorkerThread @NotNull public com.abbyy.mobile.uicomponents.scenario.ImageCaptureScenario.DocumentSize loadDocumentSize(@NotNull java.lang.String pageId)
@WorkerThread @Nullable public android.graphics.Bitmap loadOriginalImage(@NotNull java.lang.String pageId)
Returns the original captured image for the specified page.
pageId
- Identifier of the page.@WorkerThread public void delete(@NotNull java.lang.String pageId)
Removes the page with specified identifier.
pageId
- Identifier of the page to be removed.@WorkerThread public void clear()
Removes all the pages from the storage.