語言

StorageVolume.StorageUuid 屬性

定義

取得轉換後的體積 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

屬性值

是磁碟區的 UUID,或 null 是尚未被採用的「攜帶式」儲存裝置。

屬性

備註

取得轉換後的體積 UUID。 如果回傳有效的 UUID,則該 UUID 與其他使用 UUID like StorageManager#allocateBytes 和 的 API 相容 android.content.pm.ApplicationInfo#storageUuid

Java 文件 android.os.storage.StorageVolume.getStorageUuid()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於