parse

fun parse(uriString: String): PermalinkData

Turns a uri string to a PermalinkData.


fun parse(uri: Uri): PermalinkData

Turns a uri to a PermalinkData. https://github.com/matrix-org/matrix-doc/blob/master/proposals/1704-matrix.to-permalinks.md