public Uri getDocumentThumbnailUri(String documentId, Point sizeHint, CancellationSignal signal) ...
It allows to retrieve a uri pointing to a thumbnail of the document for the given size. Thumbnail support is natively provided by google drive. For the local file system provider, images and pdfs are supported.
The CancellationSignal parameter is currently ignored but might be added at a later point.
This PR adds a method to document providers:
It allows to retrieve a uri pointing to a thumbnail of the document for the given size. Thumbnail support is natively provided by google drive. For the local file system provider, images and pdfs are supported.
The
CancellationSignal
parameter is currently ignored but might be added at a later point.