Freigeben über


HttpEngine.Builder.SetEnableHttpCache(HttpCacheType, Int64) Method

Definition

[Android.Runtime.Register("setEnableHttpCache", "(IJ)Landroid/net/http/HttpEngine$Builder;", "GetSetEnableHttpCache_IJHandler", ApiSince=34)]
public virtual Android.Net.Http.HttpEngine.Builder SetEnableHttpCache (Android.Net.Http.HttpCacheType cacheMode, long maxSize);
[<Android.Runtime.Register("setEnableHttpCache", "(IJ)Landroid/net/http/HttpEngine$Builder;", "GetSetEnableHttpCache_IJHandler", ApiSince=34)>]
abstract member SetEnableHttpCache : Android.Net.Http.HttpCacheType * int64 -> Android.Net.Http.HttpEngine.Builder
override this.SetEnableHttpCache : Android.Net.Http.HttpCacheType * int64 -> Android.Net.Http.HttpEngine.Builder

Parameters

cacheMode
HttpCacheType
maxSize
Int64

Returns

Attributes

Applies to