Partager via


HttpEngine.Builder.HttpCacheDisabled 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 disable HTTP cache.

[Android.Runtime.Register("HTTP_CACHE_DISABLED", 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 HttpCacheDisabled = 0;
[<Android.Runtime.Register("HTTP_CACHE_DISABLED", 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 HttpCacheDisabled : Android.Net.Http.HttpCacheType

Field Value

Value = 0
Attributes

Remarks

Setting to disable HTTP cache. Some data may still be temporarily stored in memory. Passed to #setEnableHttpCache.

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

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