MxcUriExtension extension

on

Methods

Returns a download Link to this content.
getThumbnail(Client sdn, {num? width, num? height, ThumbnailMethod? method = ThumbnailMethod.crop, bool? animated = false}) Uri
Returns a scaled thumbnail link to this content with the given width and height. method can be ThumbnailMethod.crop or ThumbnailMethod.scale and defaults to ThumbnailMethod.scale. If animated (default false) is set to true, an animated thumbnail is requested as per MSC2705. Thumbnails only animate if the media repository supports that.