/** * Approximation of remaining RMS space in storage for a suite. * * Usage Warning: This may be a slow operation if * the platform has to look at the size of each file * stored in the MIDP memory space and include its size * in the total. * * @param storageId storage id of the suite * * @return the approximate space available to grow the * record store in bytes. */ long rmsdb_get_new_record_store_space_available(int storageId) { return rmsdb_get_record_store_space_available(-1, storageId); }
/** * Approximation of remaining RMS space in storage for a suite. * * Usage Warning: This may be a slow operation if * the platform has to look at the size of each file * stored in the MIDP memory space and include its size * in the total. * * @param id ID of the suite * * @return the approximate space available to grow the * record store in bytes. */ long rmsdb_get_new_record_store_space_available(SuiteIdType id) { return rmsdb_get_record_store_space_available(-1, id); }