getPhotoCacheDir

open fun getPhotoCacheDir(context: Context): File

Returns a directory with a default name in the private cache directory of the application to use to store retrieved media and thumbnails.

See also

Parameters

context

A context.


open fun getPhotoCacheDir(context: Context, cacheName: String): File

Returns a directory with the given name in the private cache directory of the application to use to store retrieved media and thumbnails.

See also

Parameters

context

A context.

cacheName

The name of the subdirectory in which to store the cache.