getURI

fun TypedArray.getURI(@StyleableRes index: Int): URI?

Retrieves the URI value for string based attribute at index.

Return

URI holding string data. Returns null if the attribute is not defined or could not be coerced to a URI.