getResource

open fun getResource(): String?

If the data references a resource, gets the path of that resource.

Return

The path to the resource