getUri

fun getUri(path: String): String(source)

Returns the URI string of the resource file at the specified path.

Example: val uri = Res.getUri("files/key.bin")

Return

The URI string of the file.

Parameters

path

The path of the file in the compose resource's directory.