Share via


ExternalStorageStats.TotalBytes Property

Definition

Return the total bytes used by all files in the shared/external storage hosted on this volume.

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

Property Value

Attributes

Remarks

Return the total bytes used by all files in the shared/external storage hosted on this volume.

This value only includes data which is isolated for each user on a multiuser device. Any OBB data shared between users is not accounted in this value.

Java documentation for android.app.usage.ExternalStorageStats.getTotalBytes().

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