getOffset

open fun getOffset(): Int

Return

A value from 0 to the length of getNode's content representing the offset of the SelectionPositionCompat Compatibility:

  • API <: 36.1: Always returns -1