StorageStatsManager.GetTotalBytes(UUID) Method

Definition

Return the total size of the underlying physical media that is hosting this storage volume.

[Android.Runtime.Register("getTotalBytes", "(Ljava/util/UUID;)J", "GetGetTotalBytes_Ljava_util_UUID_Handler", ApiSince=26)]
public virtual long GetTotalBytes (Java.Util.UUID storageUuid);
[<Android.Runtime.Register("getTotalBytes", "(Ljava/util/UUID;)J", "GetGetTotalBytes_Ljava_util_UUID_Handler", ApiSince=26)>]
abstract member GetTotalBytes : Java.Util.UUID -> int64
override this.GetTotalBytes : Java.Util.UUID -> int64

Parameters

storageUuid
UUID

the UUID of the storage volume you're interested in, such as StorageManager#UUID_DEFAULT.

Returns

Int64
Attributes

Remarks

Java documentation for android.app.usage.StorageStatsManager.getTotalBytes(java.util.UUID).

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