MtpDevice.GetStorageIds Method

Definition

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

Int32[]

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.

Applies to