HttpEngine.Builder.HttpCacheInMemory 字段

定义

注意

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

设置为启用内存中 HTTP 缓存,包括 HTTP 数据。

[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

字段值

Value = 1
属性

注解

设置为启用内存中 HTTP 缓存,包括 HTTP 数据。 传递给 #setEnableHttpCache.

Java文档android.net.http.HttpEngine.Builder.HTTP_CACHE_IN_MEMORY

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于