ElementSelector

interface ElementSelector

Defines a type to identify view elements with a set of selector properties.

Functions

Link copied to clipboard
abstract fun evaluateMatch(target: ElementSelector): Int

Evaluate how closely this selector matches with the given target selector.

Link copied to clipboard
abstract fun toMap(): Map<String, String>

Exports the selector properties into a string mapping for serialization.