語言

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。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於