Logo Search packages:      
Sourcecode: calibre version File versions

def calibre::devices::interface::DevicePlugin::free_space (   self,
  end_session = True 
)

Get free space available on the mountpoints:
  1. Main memory
  2. Card A
  3. Card B

@return: A 3 element list with free space in bytes of (1, 2, 3). If a
particular device doesn't have any of these locations it should return -1.

Reimplemented in calibre::devices::prs500::driver::PRS500, and calibre::devices::usbms::device::Device.

Definition at line 123 of file interface.py.

00123                                           :
        """
        Get free space available on the mountpoints:
          1. Main memory
          2. Card A
          3. Card B

        @return: A 3 element list with free space in bytes of (1, 2, 3). If a
        particular device doesn't have any of these locations it should return -1.
        """
        raise NotImplementedError()

    def books(self, oncard=None, end_session=True):


Generated by  Doxygen 1.6.0   Back to index