The path of the directory holding application cache files.
user data directory.
The path of the directory holding application cache files on external storage. Returns null if external storage is not currently mounted so it could not ensure the path exists; you will need to call this method again when it is available.
The path of the directory holding application files on external storage. Returns null if external storage is not currently mounted so it could not ensure the path exists; you will need to call this method again when it is available.
The type of storage directory to return.
public external storage directory
The path of the directory holding application files.
instance name
Android root directory
event name
callback function
target node
event name
event callback
target node
event name
event callback
target node
Generated using TypeDoc
Context.getCacheDir()。返回文件系统上应用程序特定的缓存目录的绝对路径。
Context.getCacheDir(). Returns the absolute path to the application specific cache directory on the filesystem.