Android.Provider.DocumentsContract.GetDocumentThumbnail Method
Return thumbnail representing the document at the given URI.

Syntax

[Android.Runtime.Register("getDocumentThumbnail", "(Landroid/content/ContentResolver;Landroid/net/Uri;Landroid/graphics/Point;Landroid/os/CancellationSignal;)Landroid/graphics/Bitmap;", "")]
public static Android.Graphics.Bitmap GetDocumentThumbnail (Android.Content.ContentResolver resolver, Android.Net.Uri documentUri, Android.Graphics.Point size, Android.OS.CancellationSignal signal)

See Also

DocumentsProvider.OpenDocumentThumbnail(string, Android.Graphics.Point, Android.Graphics.Point)

Parameters

resolver
Documentation for this section has not yet been entered.
documentUri
document to return thumbnail for, which must have NoType:android/provider/DocumentsContract$Document;Href=../../../reference/android/provider/DocumentsContract.Document.html#FLAG_SUPPORTS_THUMBNAIL set.
size
optimal thumbnail size desired. A provider may return a thumbnail of a different size, but never more than double the requested size.
signal
signal used to indicate if caller is no longer interested in the thumbnail.

Returns

Documentation for this section has not yet been entered.

Remarks

Return thumbnail representing the document at the given URI. Callers are responsible for their own in-memory caching.

[Android Documentation]

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0