Package io.scanbot.sdk.persistence
Class BlobStoreStrategy
-
- All Implemented Interfaces:
public final class BlobStoreStrategy
Interface to locally saved binary files used by data intelligence and OCR module
-
-
Field Summary
Fields Modifier and Type Field Description private final File
binariesDirectory
private final File
ocrDataDirectory
-
Constructor Summary
Constructors Constructor Description BlobStoreStrategy(Application application, SharedPreferences preferences)
-
Method Summary
Modifier and Type Method Description final File
getBinariesDirectory()
final File
getOcrDataDirectory()
final File
getLocalFileFor(BlobType blobType)
Returns a file where a blob of the given type should be stored in local storage -
-
Constructor Detail
-
BlobStoreStrategy
BlobStoreStrategy(Application application, SharedPreferences preferences)
-
-
Method Detail
-
getBinariesDirectory
final File getBinariesDirectory()
-
getOcrDataDirectory
final File getOcrDataDirectory()
-
getLocalFileFor
final File getLocalFileFor(BlobType blobType)
Returns a file where a blob of the given type should be stored in local storage
-
-
-
-