getRegionAt

open fun getRegionAt(@IntRange(from = 0) index: Int): Region(source)

Return the Region at the given index.

Compatibility:

  • API <29: Always returns null

Return

Returns the Region stored at the given index.

Parameters

index

The desired index, must be between 0 and getRegionCount-1.