HttpEngine.Builder.HttpCacheDisk 字段

定义

注意

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_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

字段值

Value = 3
属性

注解

设置为启用磁盘上的缓存,包括 HTTP 数据。 #setStoragePath 在将此常量传递给 之前,必须调用此常量 #setEnableHttpCache

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

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

适用于