Share via


StorageVolume.StorageUuid Property

Definition

Gets the converted volume UUID.

public Java.Util.UUID? StorageUuid { [Android.Runtime.Register("getStorageUuid", "()Ljava/util/UUID;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getStorageUuid", "()Ljava/util/UUID;", "", ApiSince=31)>]
member this.StorageUuid : Java.Util.UUID

Property Value

the UUID for the volume or null for "portable" storage devices which haven't been adopted.

Attributes

Remarks

Gets the converted volume UUID. If a valid UUID is returned, it is compatible with other APIs that make use of UUID like StorageManager#allocateBytes and android.content.pm.ApplicationInfo#storageUuid

Java documentation for android.os.storage.StorageVolume.getStorageUuid().

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