Interface StorageSpaceAware

  • All Implemented Interfaces:

    
    public interface StorageSpaceAware
    
                        

    Encapsulates querying device's disk space parameters.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.