A B C D E F G H I M N O P R S T U V W 

A

addFrameHandler(PreviewBuffer.FrameHandler) - Method in interface net.doo.snap.camera.PreviewBuffer
Registers PreviewBuffer.FrameHandler which will receive preview frames from camera.
addPage(Page) - Method in class net.doo.snap.entity.SnappingDraft
Adds page in the end
addPage(int, Page) - Method in class net.doo.snap.entity.SnappingDraft
Adds page to given position
addPictureCallback(PictureCallback) - Method in class net.doo.snap.camera.ScanbotCameraView
Adds callback which will be notified when picture will be taken.
addResultHandler(ContourDetectorFrameHandler.ResultHandler) - Method in class net.doo.snap.camera.ContourDetectorFrameHandler
Registers result handler which will be notified about contour detection results.
attach(ScanbotCameraView) - Static method in class net.doo.snap.camera.AutoSnappingController
attach(ScanbotCameraView, ContourDetectorFrameHandler) - Static method in class net.doo.snap.camera.AutoSnappingController
Convenience method for attaching AutoSnappingController to camera view and ContourDetectorFrameHandler.
attach(ScanbotCameraView) - Static method in class net.doo.snap.camera.ContourDetectorFrameHandler
Convenience method for creating new ContourDetectorFrameHandler and adding it as PreviewBuffer.FrameHandler to given camera view.
autoFocus() - Method in class net.doo.snap.camera.ScanbotCameraView
Performs auto-focus.
AutoSnappingController - Class in net.doo.snap.camera
Controls auto-snapping process by observing contour detection results from ContourDetectorFrameHandler.
AutoSnappingController(ScanbotCameraView, ContourDetectorFrameHandler) - Constructor for class net.doo.snap.camera.AutoSnappingController
 
AutoSnappingController.AutoSnappingCallback - Interface in net.doo.snap.camera
Called right before auto-snapping routine takes picture.

B

BITMAP_SCALE_RATIO - Static variable in class net.doo.snap.ui.SnappingFragment
 

C

CameraOpenCallback - Interface in net.doo.snap.camera
Called when camera is opened and ready for shooting
CHOOSER_THEME - Static variable in interface net.doo.snap.ui.themes.ThemesProvider
 
Cleaner - Class in net.doo.snap.persistence.cleanup
Deletes unreferenced pages and documents from filesystem.
Cleaner() - Constructor for class net.doo.snap.persistence.cleanup.Cleaner
 
Cleaner(UnreferencedSourcesProvider, PageStoreStrategy, DocumentStoreStrategy, ProcessingInfoProvider) - Constructor for class net.doo.snap.persistence.cleanup.Cleaner
 
cleanUp() - Method in class net.doo.snap.persistence.cleanup.Cleaner
Deletes unreferenced pages and documents from filesystem.
cleanUpPagesData(Page[]) - Method in class net.doo.snap.persistence.cleanup.Cleaner
Cleans up all temporary pages data
ContourDetectorFrameHandler - Class in net.doo.snap.camera
Performs contour detection on camera preview frames.
ContourDetectorFrameHandler(Context) - Constructor for class net.doo.snap.camera.ContourDetectorFrameHandler
 
ContourDetectorFrameHandler.DetectedFrame - Class in net.doo.snap.camera
Contour detection results alongside with information about frame
ContourDetectorFrameHandler.DetectedFrame(DetectionResult, List<PointF>, int, int, int) - Constructor for class net.doo.snap.camera.ContourDetectorFrameHandler.DetectedFrame
 
ContourDetectorFrameHandler.ResultHandler - Interface in net.doo.snap.camera
Continiously notified about contour detection results.
CREATOR - Static variable in class net.doo.snap.entity.Document
 
CREATOR - Static variable in class net.doo.snap.entity.Page
 
CREATOR - Static variable in class net.doo.snap.entity.SnappingDraft
 
CREATOR - Static variable in class net.doo.snap.process.util.DocumentDraft
 

D

deletePage(int) - Method in class net.doo.snap.entity.SnappingDraft
Deletes Page at given position
deletePage(Page) - Method in class net.doo.snap.entity.SnappingDraft
Deletes Page if possible
describeContents() - Method in class net.doo.snap.entity.Document
 
describeContents() - Method in class net.doo.snap.entity.Page
 
describeContents() - Method in class net.doo.snap.entity.SnappingDraft
 
describeContents() - Method in class net.doo.snap.process.util.DocumentDraft
 
detectionResult - Variable in class net.doo.snap.camera.ContourDetectorFrameHandler.DetectedFrame
Contour detection result status.
Document - Class in net.doo.snap.entity
Document model used in the application and database.
Document() - Constructor for class net.doo.snap.entity.Document
 
Document(Parcel) - Constructor for class net.doo.snap.entity.Document
 
DOCUMENT_DRAFT - Static variable in class net.doo.snap.ui.SnappingFragment
 
DOCUMENT_NAME_UPDATES - Static variable in class net.doo.snap.ui.SnappingFragment
 
DocumentDraft - Class in net.doo.snap.process.util
Contains meta information about document being saved
DocumentDraft(Document, Page...) - Constructor for class net.doo.snap.process.util.DocumentDraft
 
DocumentDraft(Parcel) - Constructor for class net.doo.snap.process.util.DocumentDraft
 
DocumentDraftExtractor - Interface in net.doo.snap.process.draft
Creates Document and Page from SnappingDraft and wraps them in DocumentDraft
documentDraftExtractor(DocumentDraftExtractor) - Method in class net.doo.snap.ScanbotSDKInitializer
Adjust this parameter to specify snapped pages should be combined into documents and in which format
DocumentProcessingResult - Class in net.doo.snap.process
Result of the document draft processing
DocumentProcessingResult(Document, List<Page>, File) - Constructor for class net.doo.snap.process.DocumentProcessingResult
 
DocumentProcessor - Class in net.doo.snap.process
Saves pdf documents using DocumentDraft source Call in a background thread only.
DocumentProcessor(DocumentStoreStrategy, Resources, BitmapLruCache, PageProcessor, ComposerFactory, <any>, Cleaner) - Constructor for class net.doo.snap.process.DocumentProcessor
 

E

EDIT_ACTIVITY_REQUEST_CODE - Static variable in class net.doo.snap.ui.SnappingFragment
 
equals(Object) - Method in class net.doo.snap.entity.Document
 
equals(Object) - Method in class net.doo.snap.entity.Page
 
EVERNOTE_CHOOSER_THEME - Static variable in interface net.doo.snap.ui.themes.ThemesProvider
 
extract(SnappingDraft) - Method in interface net.doo.snap.process.draft.DocumentDraftExtractor
extract(SnappingDraft) - Method in class net.doo.snap.process.draft.MultipleDocumentsDraftExtractor
 

F

FILTERED_FOLDER - Static variable in class net.doo.snap.entity.Page
 
forJpeg() - Static method in class net.doo.snap.process.draft.MultipleDocumentsDraftExtractor
 
forPdf() - Static method in class net.doo.snap.process.draft.MultipleDocumentsDraftExtractor
 
frameHeight - Variable in class net.doo.snap.camera.ContourDetectorFrameHandler.DetectedFrame
Height of the frame before rotation
frameOrientation - Variable in class net.doo.snap.camera.ContourDetectorFrameHandler.DetectedFrame
Rotation of the frame in degrees relatively to what is seen on the screen.
frameWidth - Variable in class net.doo.snap.camera.ContourDetectorFrameHandler.DetectedFrame
Width of the frame before rotation

G

getDate() - Method in class net.doo.snap.entity.Document
 
getDocument() - Method in class net.doo.snap.process.DocumentProcessingResult
 
getDocument() - Method in class net.doo.snap.process.util.DocumentDraft
 
getDocumentFile() - Method in class net.doo.snap.process.DocumentProcessingResult
 
getDocumentName() - Method in class net.doo.snap.entity.SnappingDraft
 
getDocumentType() - Method in class net.doo.snap.entity.Document
 
getFileName() - Method in enum net.doo.snap.entity.Page.ImageType
 
getId() - Method in class net.doo.snap.entity.Document
 
getId() - Method in class net.doo.snap.entity.Page
 
getImageSize(Page.ImageType) - Method in class net.doo.snap.entity.Page
 
getLanguage() - Method in class net.doo.snap.entity.Document
 
getMimeByName(String) - Static method in class net.doo.snap.util.thread.MimeUtils
Detects MIME from document or file name.
getName() - Method in class net.doo.snap.entity.Document
 
getOcrStatus() - Method in class net.doo.snap.entity.Document
 
getOcrText() - Method in class net.doo.snap.entity.Document
 
getOptimizationType() - Method in class net.doo.snap.entity.Page
 
getPage(int) - Method in class net.doo.snap.entity.SnappingDraft
 
getPages() - Method in class net.doo.snap.entity.SnappingDraft
 
getPages() - Method in class net.doo.snap.process.DocumentProcessingResult
 
getPages() - Method in class net.doo.snap.process.util.DocumentDraft
 
getPagesCount() - Method in class net.doo.snap.entity.Document
 
getParameters() - Method in class net.doo.snap.entity.Page
 
getPolygon() - Method in class net.doo.snap.entity.Page
 
getPosition(Page) - Method in class net.doo.snap.entity.SnappingDraft
 
getPreviewBuffer() - Method in class net.doo.snap.camera.ScanbotCameraView
 
getRotationType() - Method in class net.doo.snap.entity.Page
 
getSize() - Method in class net.doo.snap.entity.Document
 
getThemeResId(String) - Method in interface net.doo.snap.ui.themes.ThemesProvider
 
getThumbnailUri() - Method in class net.doo.snap.entity.Document
 
getUnreferencedDocuments() - Method in interface net.doo.snap.persistence.cleanup.UnreferencedSourcesProvider
 
getUnreferencedPages() - Method in interface net.doo.snap.persistence.cleanup.UnreferencedSourcesProvider
 

H

handleFrame(byte[], int, int, int) - Method in class net.doo.snap.camera.ContourDetectorFrameHandler
 
handleFrame(byte[], int, int, int) - Method in interface net.doo.snap.camera.PreviewBuffer.FrameHandler
Invoked for every new camera preview frame
handleResult(ContourDetectorFrameHandler.DetectedFrame) - Method in interface net.doo.snap.camera.ContourDetectorFrameHandler.ResultHandler
Called every time contour detection was performed on a frame.
hashCode() - Method in class net.doo.snap.entity.Document
 
hashCode() - Method in class net.doo.snap.entity.Page
 

I

initialize(Application) - Method in class net.doo.snap.ScanbotSDKInitializer
Initializes Scanbot SDK library
isCameraSelected() - Method in class net.doo.snap.ui.SnappingFragment
 
isCombined() - Method in class net.doo.snap.entity.SnappingDraft
 
isEmpty() - Method in class net.doo.snap.entity.SnappingDraft
 
isEnabled() - Method in class net.doo.snap.camera.AutoSnappingController
 
isEnabled() - Method in class net.doo.snap.camera.ContourDetectorFrameHandler
 
isProcessed() - Method in class net.doo.snap.entity.Page
 

M

MAIN_THEME - Static variable in interface net.doo.snap.ui.themes.ThemesProvider
 
MimeUtils - Class in net.doo.snap.util.thread
Utils connected to mime detection
MimeUtils() - Constructor for class net.doo.snap.util.thread.MimeUtils
 
MultipleDocumentsDraftExtractor - Class in net.doo.snap.process.draft
Extracts separate document draft for each page of SnappingDraft
MultipleDocumentsDraftExtractor(SharedPreferences) - Constructor for class net.doo.snap.process.draft.MultipleDocumentsDraftExtractor
 

N

net.doo.snap - package net.doo.snap
 
net.doo.snap.camera - package net.doo.snap.camera
 
net.doo.snap.entity - package net.doo.snap.entity
 
net.doo.snap.persistence.cleanup - package net.doo.snap.persistence.cleanup
 
net.doo.snap.process - package net.doo.snap.process
 
net.doo.snap.process.draft - package net.doo.snap.process.draft
 
net.doo.snap.process.util - package net.doo.snap.process.util
 
net.doo.snap.ui - package net.doo.snap.ui
 
net.doo.snap.ui.themes - package net.doo.snap.ui.themes
 
net.doo.snap.util.thread - package net.doo.snap.util.thread
 
NULL - Static variable in interface net.doo.snap.camera.AutoSnappingController.AutoSnappingCallback
Null-object pattern
NULL - Static variable in interface net.doo.snap.camera.CameraOpenCallback
Null-object pattern
NULL - Static variable in interface net.doo.snap.camera.PictureCallback
Null-object pattern

O

onActivityResult(int, int, Intent) - Method in class net.doo.snap.ui.SnappingFragment
 
onAutoSnapping() - Method in interface net.doo.snap.camera.AutoSnappingController.AutoSnappingCallback
Called right before auto-snapping routine takes picture.
onCameraOpened() - Method in interface net.doo.snap.camera.CameraOpenCallback
Called when camera is opened and ready for shooting
onCameraPageTransformation(View, float) - Method in class net.doo.snap.ui.SnappingFragment
Invoked when new transformation for camera page should be applied
onCreate(Bundle) - Method in class net.doo.snap.ui.SnappingActivity
 
onCreateOptionsMenu(Menu, MenuInflater) - Method in class net.doo.snap.ui.SnappingFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class net.doo.snap.ui.SnappingFragment
 
onDestroyView() - Method in class net.doo.snap.ui.SnappingFragment
 
onDocumentRename(DocumentRenamedEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
onDocumentSave(DocumentSavingEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
onLayout(boolean, int, int, int, int) - Method in class net.doo.snap.camera.ScanbotCameraView
 
onOptionsItemSelected(MenuItem) - Method in class net.doo.snap.ui.SnappingFragment
 
onPageLongPressed(OnPageLongPressedEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
onPause() - Method in class net.doo.snap.camera.ScanbotCameraView
Notifies view that enclosing Activity or Fragment was paused and therefore camera must be closed.
onPause() - Method in class net.doo.snap.ui.SnappingActivity
 
onPictureProcessingStatusChanged(PictureProcessingStatusChangedEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
onPictureTaken(byte[], int) - Method in interface net.doo.snap.camera.PictureCallback
Invoked when picture is taken
onPictureTaken(PictureTakenEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
onResume() - Method in class net.doo.snap.camera.ScanbotCameraView
Notifies view that enclosing Activity or Fragment was resumed and therefore camera can be started.
onResume() - Method in class net.doo.snap.ui.SnappingActivity
 
onResume() - Method in class net.doo.snap.ui.SnappingFragment
 
onRetakePage(RetakePageEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
onSaveInstanceState(Bundle) - Method in class net.doo.snap.ui.SnappingFragment
 

P

Page - Class in net.doo.snap.entity
Model for representing snapped instance and associated meta info.
Page() - Constructor for class net.doo.snap.entity.Page
 
Page(String) - Constructor for class net.doo.snap.entity.Page
 
Page.ImageType - Enum in net.doo.snap.entity
Types of images to be saved on disk
PAGE_OPENED_PROGRESS - Static variable in class net.doo.snap.ui.SnappingFragment
Progress of fully opened page
PictureCallback - Interface in net.doo.snap.camera
Invoked when picture is taken
polygon - Variable in class net.doo.snap.camera.ContourDetectorFrameHandler.DetectedFrame
Detected polygon.
PreviewBuffer - Interface in net.doo.snap.camera
Manages access to preview buffer of the Camera
PreviewBuffer.FrameHandler - Interface in net.doo.snap.camera
Handles camera preview frames
processDocument(DocumentDraft) - Method in class net.doo.snap.process.DocumentProcessor
Creates files for given DocumentDraft.

R

removeFrameHandler(PreviewBuffer.FrameHandler) - Method in interface net.doo.snap.camera.PreviewBuffer
removePictureCallback(PictureCallback) - Method in class net.doo.snap.camera.ScanbotCameraView
Removes callback, so it won't receive any further notifications.
removeResultHandler(ContourDetectorFrameHandler.ResultHandler) - Method in class net.doo.snap.camera.ContourDetectorFrameHandler
Unregisters handler.
RENAME_DOCUMENT_FRAGMENT_TAG - Static variable in class net.doo.snap.ui.SnappingFragment
 
replacePage(int, Page) - Method in class net.doo.snap.entity.SnappingDraft
Replaces page at given position with new page
RETAKE_PHOTO_REQUEST_CODE - Static variable in class net.doo.snap.ui.SnappingFragment
 

S

SAVE_TYPE_FRAGMENT_TAG - Static variable in class net.doo.snap.ui.SnappingFragment
 
saveDocument(StartDocumentSavingEvent) - Method in class net.doo.snap.ui.SnappingFragment
 
SCANBOT_THEME - Static variable in interface net.doo.snap.ui.themes.ThemesProvider
 
ScanbotCameraView - Class in net.doo.snap.camera
Provides interface to native Camera and displays camera stream.
ScanbotCameraView(Context) - Constructor for class net.doo.snap.camera.ScanbotCameraView
 
ScanbotCameraView(Context, AttributeSet) - Constructor for class net.doo.snap.camera.ScanbotCameraView
 
ScanbotSDKInitializer - Class in net.doo.snap
Initializes Scanbot SDK library.
ScanbotSDKInitializer() - Constructor for class net.doo.snap.ScanbotSDKInitializer
 
setAutoSnappingCallback(AutoSnappingController.AutoSnappingCallback) - Method in class net.doo.snap.camera.AutoSnappingController
 
setCameraEnabled(boolean) - Method in class net.doo.snap.ui.SnappingFragment
Enables or disables workflow of net.doo.snap.ui.camera.CameraPreviewFragment.
setCameraOpenCallback(CameraOpenCallback) - Method in class net.doo.snap.camera.ScanbotCameraView
Callback which will be invoked when camera will be opened
setCombined(boolean) - Method in class net.doo.snap.entity.SnappingDraft
 
setDate(long) - Method in class net.doo.snap.entity.Document
 
setDocumentName(String) - Method in class net.doo.snap.entity.SnappingDraft
 
setDocumentType(DocumentType) - Method in class net.doo.snap.entity.Document
 
setEnabled(boolean) - Method in class net.doo.snap.camera.AutoSnappingController
 
setEnabled(boolean) - Method in class net.doo.snap.camera.ContourDetectorFrameHandler
 
setId(String) - Method in class net.doo.snap.entity.Document
 
setImageSize(Page.ImageType, int, int) - Method in class net.doo.snap.entity.Page
Saves information about image size for particular Page.ImageType
setLanguage(Language) - Method in class net.doo.snap.entity.Document
 
setName(String) - Method in class net.doo.snap.entity.Document
 
setOcrStatus(OcrStatus) - Method in class net.doo.snap.entity.Document
 
setOcrText(String) - Method in class net.doo.snap.entity.Document
 
setOptimizationType(OptimizationType) - Method in class net.doo.snap.entity.Page
 
setPagesCount(int) - Method in class net.doo.snap.entity.Document
 
setPolygon(List<PointF>) - Method in class net.doo.snap.entity.Page
Sets polygon which crops page preview from original image.
setProcessed(boolean) - Method in class net.doo.snap.entity.Page
 
setRotationType(RotationType) - Method in class net.doo.snap.entity.Page
 
setSize(long) - Method in class net.doo.snap.entity.Document
 
setThumbnailUri(String) - Method in class net.doo.snap.entity.Document
 
SHOW_SAVE_MODE_DIALOG - Static variable in class net.doo.snap.ui.SnappingFragment
 
size() - Method in class net.doo.snap.entity.SnappingDraft
 
SnappingActivity - Class in net.doo.snap.ui
Main activity for snapping workflow.
SnappingActivity() - Constructor for class net.doo.snap.ui.SnappingActivity
 
SnappingDraft - Class in net.doo.snap.entity
Contains Pages and naming metadata necessary for document creation
SnappingDraft(Page...) - Constructor for class net.doo.snap.entity.SnappingDraft
 
SnappingDraft(Parcel) - Constructor for class net.doo.snap.entity.SnappingDraft
 
SnappingDraft.NoPageByIndexException - Exception in net.doo.snap.entity
Thrown if page by index does not exist
SnappingDraft.NoPageByIndexException() - Constructor for exception net.doo.snap.entity.SnappingDraft.NoPageByIndexException
 
SnappingFragment - Class in net.doo.snap.ui
Main fragment of snapping workflow.
SnappingFragment() - Constructor for class net.doo.snap.ui.SnappingFragment
 
startPreview() - Method in class net.doo.snap.camera.ScanbotCameraView
Starts/resumes camera preview stream.
switchToPreview() - Method in class net.doo.snap.ui.SnappingFragment
Moves ViewPager to camera

T

takePicture(boolean) - Method in class net.doo.snap.camera.ScanbotCameraView
Takes picture.
themesProvider(ThemesProvider) - Method in class net.doo.snap.ScanbotSDKInitializer
Adjust this parameter to use custom themes in snapping UI
ThemesProvider - Interface in net.doo.snap.ui.themes
Returns themes style ids by theme name
toString() - Method in class net.doo.snap.entity.Document
 

U

UnreferencedSourcesProvider - Interface in net.doo.snap.persistence.cleanup
Provides Collection of sources ids, which are not referenced
unreferencedSourcesProvider(UnreferencedSourcesProvider) - Method in class net.doo.snap.ScanbotSDKInitializer
Adjust this parameter to specify which files Cleaner can safely delete during clean up
updateTitle() - Method in class net.doo.snap.ui.SnappingFragment
Updates ActionBar title using name of current SnappingDraft
useFlash(boolean) - Method in class net.doo.snap.camera.ScanbotCameraView
Enables or disables camera flash.

V

valueOf(String) - Static method in enum net.doo.snap.entity.Page.ImageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.doo.snap.entity.Page.ImageType
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeToParcel(Parcel, int) - Method in class net.doo.snap.entity.Document
 
writeToParcel(Parcel, int) - Method in class net.doo.snap.entity.Page
 
writeToParcel(Parcel, int) - Method in class net.doo.snap.entity.SnappingDraft
 
writeToParcel(Parcel, int) - Method in class net.doo.snap.process.util.DocumentDraft
 
A B C D E F G H I M N O P R S T U V W