HttpEngine.Builder.HttpCacheDisabled 字段

定义

注意

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

设置为禁用 HTTP 缓存。

[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

字段值

Value = 0
属性

注解

设置为禁用 HTTP 缓存。 某些数据可能仍暂时存储在内存中。 传递给 #setEnableHttpCache.

适用于 . 的 android.net.http.HttpEngine.Builder.HTTP_CACHE_DISABLEDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于