FileResourceDirectoryHelper

Functions

Link copied to clipboard

This method returns a File object whose path points to the Sdk cache resources directory. This should be the place where volatile files are stored, such as camera photos or images to be resized. Since the directory is contained in the cache directory, Android may auto-delete the files in the cache directory once the system is about to run out of memory. Third party applications can also delete files from the cache directory. Even the user can manually clear the cache from Settings. However, the fact that the cache can be cleared in the methods explained above should not mean that the cache will automatically get cleared; therefore, the cache will need to be tidied up from time to time proactively.

Link copied to clipboard

This method returns a File object whose path points to the Sdk resources directory where the Sdk will save the files associated with the file resources.