Sdílet prostřednictvím


CacheManager.SaveCacheFile(String, CacheManager+CacheResult) Method

Definition

Caution

deprecated

Adds a cache entry to the HTTP cache for the specicifed URL.

[Android.Runtime.Register("saveCacheFile", "(Ljava/lang/String;Landroid/webkit/CacheManager$CacheResult;)V", "")]
[System.Obsolete("deprecated")]
public static void SaveCacheFile (string? url, Android.Webkit.CacheManager.CacheResult? cacheResult);
[<Android.Runtime.Register("saveCacheFile", "(Ljava/lang/String;Landroid/webkit/CacheManager$CacheResult;)V", "")>]
[<System.Obsolete("deprecated")>]
static member SaveCacheFile : string * Android.Webkit.CacheManager.CacheResult -> unit

Parameters

url
String

the URL for which the cache entry should be added

cacheResult
CacheManager.CacheResult

the cache entry to add

Attributes

Remarks

Java documentation for android.webkit.CacheManager.saveCacheFile(java.lang.String, android.webkit.CacheResult).

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