MtpDevice.GetStorageIds 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳此裝置上所有儲存單元的 ID 清單。每個儲存單元的資訊可透過 #getStorageInfo存取。
[Android.Runtime.Register("getStorageIds", "()[I", "")]
public int[]? GetStorageIds();
[<Android.Runtime.Register("getStorageIds", "()[I", "")>]
member this.GetStorageIds : unit -> int[]
傳回
Int32[]
儲存 ID 清單,若擷取儲存 ID 失敗則為 null
- 屬性
備註
回傳此裝置上所有儲存單元的 ID 清單。每個儲存單元的資訊可透過 #getStorageInfo存取。
Java 文件 android.mtp.MtpDevice.getStorageIds()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。