AccessibilityNodeInfo.AccessibilityAction.ActionScrollInDirection Property
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.
Action that brings fully on screen the next node in the specified direction.
[Android.Runtime.Register("ACTION_SCROLL_IN_DIRECTION", ApiSince=34)]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionScrollInDirection { get; }
[<Android.Runtime.Register("ACTION_SCROLL_IN_DIRECTION", ApiSince=34)>]
static member ActionScrollInDirection : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction
Property Value
- Attributes
Remarks
Action that brings fully on screen the next node in the specified direction.
This should include wrapping around to the next/previous row, column, etc. in a collection if one is available. If there is no node in that direction, the action should fail and return false.
This action should be used instead of AccessibilityAction.ACTION_SCROLL_TO_POSITION when a widget does not have clear row and column semantics or if a directional search is needed to find a node in a complex ViewGroup where individual nodes may span multiple rows or columns. The implementing widget must send a AccessibilityEvent.TYPE_VIEW_TARGETED_BY_SCROLL accessibility event with the scroll target as the source. An accessibility service can listen for this event, inspect its source, and use the result when determining where to place accessibility focus.
Arguments: AccessibilityNodeInfo.ACTION_ARGUMENT_DIRECTION_INT. This is a required argument.
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.