MtpDevice.GetStorageIds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the list of IDs for all storage units on this device
Information about each storage unit can be accessed via #getStorageInfo
.
[Android.Runtime.Register("getStorageIds", "()[I", "")]
public int[]? GetStorageIds ();
[<Android.Runtime.Register("getStorageIds", "()[I", "")>]
member this.GetStorageIds : unit -> int[]
Returns
the list of storage IDs, or null if fetching storage IDs fails
- Attributes
Remarks
Returns the list of IDs for all storage units on this device Information about each storage unit can be accessed via #getStorageInfo
.
Java documentation for android.mtp.MtpDevice.getStorageIds()
.
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.