Share via


Context.CacheDir Property

Definition

Returns the absolute path to the application specific cache directory on the filesystem.

public abstract Java.IO.File? CacheDir { [Android.Runtime.Register("getCacheDir", "()Ljava/io/File;", "GetGetCacheDirHandler")] get; }
[<get: Android.Runtime.Register("getCacheDir", "()Ljava/io/File;", "GetGetCacheDirHandler")>]
member this.CacheDir : Java.IO.File

Property Value

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also

  • <xref:Android.Content.Context.OpenFileOutput(System.String%2c+Android.Content.FileCreationMode)>
  • GetFileStreamPath(String)
  • <xref:Android.Content.Context.GetDir(System.String%2c+Android.Content.FileCreationMode)>