Partager via


HttpEngine.Builder.HttpCacheInMemory 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 in-memory HTTP cache, including HTTP data.

[Android.Runtime.Register("HTTP_CACHE_IN_MEMORY", 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 HttpCacheInMemory = 1;
[<Android.Runtime.Register("HTTP_CACHE_IN_MEMORY", 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 HttpCacheInMemory : Android.Net.Http.HttpCacheType

Field Value

Value = 1
Attributes

Remarks

Setting to enable in-memory HTTP cache, including HTTP data. Passed to #setEnableHttpCache.

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

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