FindTarget class
What the caller is looking for.
Constructors
Properties
- actionClass → String?
-
The SIDE-EFFECT family the target is resolved for —
input(set_text / type),tap(click / tap / navigate / select trigger),toggle(check),slider(set_slider) — or null for read-only verbs (read_field, highlight, scroll_to, find_candidates), which keep the lenient ladder. A non-null class makes the text rung strict: whole-word matches only ("PIN" never matches "Pincode"), an ambiguous winner is REFUSED (ambiguous_target) instead of guessed, and aninputwhose only match is a qualified label ("Name" → "Nominee Name") is refused astarget_mismatch.final - approximateBounds → Rect?
-
Last-resort spatial hint.
final
- forbidText → String?
-
Negative filter — drop any candidate whose
text(orsubtreeText) contains this substring.final - hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String?
-
Semantics(identifier: …)value from the host app.final - insideRole → String?
-
Role of an ancestor (e.g.
section,card).final - insideStableId → String?
-
Stable_id of an ancestor the target must live inside.
final
- insideText → String?
-
Text label of an ancestor (usually a section header).
final
- isEmpty → bool
-
no setter
- kind → String?
-
Intent type from the planner:
tap/action/navigation/article/info_query/presence_check.final - nthMatch → int?
-
Among the remaining candidates after all filtering, pick the
nthMatch-th in reading order (0-based).final - role → String?
-
Wire-format role:
button,link,input_field, …final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stableId → String?
-
Exact
home.quick_stats.see_all-style stable ID.final - strict → bool
-
True when the target is resolved for a side-effect action.
no setter
-
targetTokens
→ List<
String> ? -
Token bag the planner extracted from the user phrase.
final
- text → String?
-
Substring of merged label/value/tooltip (the same
textfield on UiNode).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited