Lingua

AccessibilityNodeInfo.AccessibilityAction.ActionSetSelection Property

Definition

Action to set the selection.

[Android.Runtime.Register("ACTION_SET_SELECTION")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionSetSelection { get; }
[<Android.Runtime.Register("ACTION_SET_SELECTION")>]
static member ActionSetSelection : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction

Property Value

Attributes

Remarks

Action to set the selection. Performing this action with no arguments clears the selection.

If this is a text selection, the UI element that implements this should send a AccessibilityEvent.TYPE_VIEW_TEXT_SELECTION_CHANGED event if its selection is updated. This element should also return true for AccessibilityNodeInfo.isTextSelectable().

Android reference for android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_SELECTION.

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.

Applies to