AccessibilityNodeInfo.ExtraDataRequestLayoutBasedActionsKey Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Key used to request that the node source re-evaluate and update this node's layout-dependent actions.
[Android.Runtime.Register("EXTRA_DATA_REQUEST_LAYOUT_BASED_ACTIONS_KEY", ApiSince=37)]
public const string ExtraDataRequestLayoutBasedActionsKey;
[<Android.Runtime.Register("EXTRA_DATA_REQUEST_LAYOUT_BASED_ACTIONS_KEY", ApiSince=37)>]
val mutable ExtraDataRequestLayoutBasedActionsKey : string
Field Value
Implements
- Attributes
Remarks
Key used to request that the node source re-evaluate and update this node's layout-dependent actions. This request is made with refreshWithExtraData(String,Bundle) and takes no arguments.
Some actions may depend on the on-screen layout of a node. In complex or dynamic UIs, it may be difficult for a source to determine if a node is truly actionable without more intensive inspection. For example, a node may be misreported as clickable despite being occluded, requiring a hit-test to confirm the availability of the action.
Using this key requests that the source perform a more intensive, layout-based analysis to determine which actions are available to the user. After this request, the source will update the actions and related properties of this node. For example, for clickability, this may result in changes to the value returned by isClickable() and the presence of AccessibilityAction.ACTION_CLICK in the node's getActionList().
This analysis can be computationally expensive and should only be requested when needed to resolve ambiguous or inaccurate actions.
Providers may advertise that they support this request using setAvailableExtraData(List). Services may check for support with getAvailableExtraData().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.