Condividi tramite


HttpResponseCache.Size Method

Definition

Returns the number of bytes currently being used to store the values in this cache.

[Android.Runtime.Register("size", "()J", "")]
public long Size ();
[<Android.Runtime.Register("size", "()J", "")>]
member this.Size : unit -> int64

Returns

Attributes

Remarks

Returns the number of bytes currently being used to store the values in this cache. This may be greater than the #maxSize if a background deletion is pending. -1 is returned if the size cannot be determined.

Java documentation for android.net.http.HttpResponseCache.size().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to