createThumbnail

suspend fun createThumbnail(width: Int, height: Int): Result<BitmapDrawable>

Creates asynchronously a thumbnail image with the specified width and height. This is only supported if the PopupAttachment.type is PopupAttachmentType.Image.

Return

A task that represents the asynchronous operation. The task result contains the thumbnail as a BitmapDrawable.

Since

200.1.0