Package io.scanbot.sdk.persistence
Interface StorageSpaceAware
-
- All Implemented Interfaces:
public interface StorageSpaceAware
Encapsulates querying device's disk space parameters.
-
-
Method Summary
Modifier and Type Method Description abstract Long
getAvailableDiskSpace()
Provides full info of how much space available to write data by sdk in bytes. abstract Long
getTotalDiskSpace()
Provides full info of how much space total exist on this device storage in bytes. abstract Long
getUsedDiskSpace()
Provides full info of how much space used on this device storage in bytes. -
-
Method Detail
-
getAvailableDiskSpace
abstract Long getAvailableDiskSpace()
Provides full info of how much space available to write data by sdk in bytes. You can check this value before creating page images by sdk. But please don't forget that one page contains more than one image inside.
-
getTotalDiskSpace
abstract Long getTotalDiskSpace()
Provides full info of how much space total exist on this device storage in bytes.
-
getUsedDiskSpace
abstract Long getUsedDiskSpace()
Provides full info of how much space used on this device storage in bytes.
-
-
-
-