Share via


StorageStats.ExternalCacheBytes Property

Definition

Return the size of all cached data in the primary external/shared storage.

public long ExternalCacheBytes { [Android.Runtime.Register("getExternalCacheBytes", "()J", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getExternalCacheBytes", "()J", "", ApiSince=31)>]
member this.ExternalCacheBytes : int64

Property Value

Attributes

Remarks

Return the size of all cached data in the primary external/shared storage. This includes files stored under Context#getExternalCacheDir().

Cached data is isolated for each user on a multiuser device.

Java documentation for android.app.usage.StorageStats.getExternalCacheBytes().

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