resolveForDownload
abstract fun resolveForDownload(contentUrl: String?, elementToDecrypt: ElementToDecrypt? = null): ContentUrlResolver.ResolvedMethod?
Content copied to clipboard
Get the ResolvedMethod to download a URL.
Return
the Method to access resource, or null if invalid
Parameters
contentUrl
the Matrix media content URI (in the form of "mxc://...").
elementToDecrypt
Encryption data may be required if you use a content scanner