Package io.scanbot.sdk.persistence
Class BlobStoreStrategy
-
- All Implemented Interfaces:
public final class BlobStoreStrategyInterface to locally saved binary files used by data intelligence and OCR module
-
-
Field Summary
Fields Modifier and Type Field Description private final FilebinariesDirectoryprivate final FileocrDataDirectory
-
Constructor Summary
Constructors Constructor Description BlobStoreStrategy(Application application, SharedPreferences preferences)
-
Method Summary
Modifier and Type Method Description final FilegetBinariesDirectory()final FilegetOcrDataDirectory()final FilegetLocalFileFor(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
-
-
-
-