TouchDelegateInfoCompat

Class with information of touch delegated views and regions.

Constructors

Link copied to clipboard
constructor(@NonNull targetMap: @NonNull Map<Region, View>)
Create a new instance of TouchDelegateInfoCompat.

Functions

Link copied to clipboard
@Nullable
open fun getRegionAt(@IntRange(from = 0) index: Int): @Nullable Region
Return the Region at the given index.
Link copied to clipboard
@IntRange(from = 0)
open fun getRegionCount(): Int
Returns the number of touch delegate target region.
Link copied to clipboard
@Nullable
open fun getTargetForRegion(@NonNull region: @NonNull Region): @Nullable AccessibilityNodeInfoCompat
Return the target AccessibilityNodeInfoCompat for the given Region.