StorageManager.SetCacheBehaviorTombstone(File, Boolean) Method

Definition

Enable or disable special cache behavior that leaves deleted cache files intact as tombstones.

[Android.Runtime.Register("setCacheBehaviorTombstone", "(Ljava/io/File;Z)V", "GetSetCacheBehaviorTombstone_Ljava_io_File_ZHandler", ApiSince=26)]
public virtual void SetCacheBehaviorTombstone (Java.IO.File? path, bool tombstone);
[<Android.Runtime.Register("setCacheBehaviorTombstone", "(Ljava/io/File;Z)V", "GetSetCacheBehaviorTombstone_Ljava_io_File_ZHandler", ApiSince=26)>]
abstract member SetCacheBehaviorTombstone : Java.IO.File * bool -> unit
override this.SetCacheBehaviorTombstone : Java.IO.File * bool -> unit

Parameters

path
File
tombstone
Boolean
Attributes

Remarks

Java documentation for android.os.storage.StorageManager.setCacheBehaviorTombstone(java.io.File, boolean).

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