Android.Mtp.MtpDevice.GetThumbnail Method
Returns the thumbnail data for an object as a byte array.

Syntax

[Android.Runtime.Register("getThumbnail", "(I)[B", "")]
public byte[] GetThumbnail (int objectHandle)

Parameters

objectHandle
handle of the object to read

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the thumbnail data for an object as a byte array. The size and format of the thumbnail data can be determined via MtpObjectInfo.ThumbCompressedSize and MtpObjectInfo.ThumbFormat. For typical devices the format is JPEG.

[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