getResourceIndex

fun getResourceIndex(currentResource: Resource?): Int(source)

The position within the spine of the given resource.

Return

something < 0 if not found.

Parameters

currentResource

fun getResourceIndex(resourceHref: String?): Int(source)

The first position within the spine of a resource with the given href.

Return

something < 0 if not found.