getResourceUri

@Nullable
open fun getResourceUri(): @Nullable URI

Returns the resource URI, or null if no resource is requested.

Return

the resource URI.

Throws

if the resource ID is not a valid URI.