Lenguaje

HttpEngine.Builder.HttpCacheDisk Campo

Definición

Precaución

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

Configuración para habilitar la caché en disco, incluidos los datos 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

Valor de campo

Value = 3
Atributos

Comentarios

Configuración para habilitar la caché en disco, incluidos los datos HTTP. #setStoragePath Se debe llamar a antes de pasar esta constante a #setEnableHttpCache.

Java documentación para android.net.http.HttpEngine.Builder.HTTP_CACHE_DISK.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a