Android.Mtp.MtpDevice.GetObjectHandles Method
Returns the list of object handles for all objects on the given storage unit, with the given format and parent.

Syntax

[Android.Runtime.Register("getObjectHandles", "(III)[I", "")]
public int[] GetObjectHandles (int storageId, [Android.Runtime.GeneratedEnum] MtpFormat format, int objectHandle)

Parameters

storageId
the storage unit to query
format
the format of the object to return, or zero for all formats
objectHandle
the parent object to query, or zero for the storage root

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the list of object handles for all objects on the given storage unit, with the given format and parent. Information about each object can be accessed via MtpDevice.GetObjectInfo(int).

[Android Documentation]

Requirements

Namespace: Android.Mtp
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12