CacheManager.GetCacheFile(String, IDictionary<String,String>) Method

Definition

Caution

deprecated

Gets the cache entry for the specified URL, or null if none is found.

[Android.Runtime.Register("getCacheFile", "(Ljava/lang/String;Ljava/util/Map;)Landroid/webkit/CacheManager$CacheResult;", "")]
[System.Obsolete("deprecated")]
public static Android.Webkit.CacheManager.CacheResult? GetCacheFile (string? url, System.Collections.Generic.IDictionary<string,string>? headers);
[<Android.Runtime.Register("getCacheFile", "(Ljava/lang/String;Ljava/util/Map;)Landroid/webkit/CacheManager$CacheResult;", "")>]
[<System.Obsolete("deprecated")>]
static member GetCacheFile : string * System.Collections.Generic.IDictionary<string, string> -> Android.Webkit.CacheManager.CacheResult

Parameters

url
String

the URL for which a cache entry is requested

headers
IDictionary<String,String>

a map from HTTP header name to value, to be populated for the returned cache entry

Returns

the cache entry for the specified URL

Attributes

Remarks

Java documentation for android.webkit.CacheManager.getCacheFile(java.lang.String, java.util.Map).

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