Share via


HttpEngine.Builder.HttpCacheDisk Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Http.HttpCacheType enum directly instead of this field.

Setting to enable on-disk cache, including HTTP data.

[Android.Runtime.Register("HTTP_CACHE_DISK", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.HttpCacheType enum directly instead of this field.", true)]
public const Android.Net.Http.HttpCacheType HttpCacheDisk = 3;
[<Android.Runtime.Register("HTTP_CACHE_DISK", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Http.HttpCacheType enum directly instead of this field.", true)>]
val mutable HttpCacheDisk : Android.Net.Http.HttpCacheType

Field Value

Value = 3
Attributes

Remarks

Setting to enable on-disk cache, including HTTP data. #setStoragePath must be called prior to passing this constant to #setEnableHttpCache.

Java documentation for android.net.http.HttpEngine.Builder.HTTP_CACHE_DISK.

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