Android.Views.Accessibility.AccessibilityNodeInfo.ActionSetSelection Field
Action to set the selection.

Value: 131072

Syntax

[Android.Runtime.Register("ACTION_SET_SELECTION")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.Action enum directly instead of this field.")]
public const Action ActionSetSelection

See Also

AccessibilityNodeInfo.ActionArgumentSelectionStartInt
AccessibilityNodeInfo.ActionArgumentSelectionEndInt

Remarks

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

Arguments:AccessibilityNodeInfo.ActionArgumentSelectionStartInt, AccessibilityNodeInfo.ActionArgumentSelectionEndInt

Example:

java Example

   Bundle arguments = new Bundle();
   arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_START_INT, 1);
   arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_END_INT, 2);
   info.performAction(AccessibilityNodeInfo.ACTION_SET_SELECTION, arguments);
 

[Android Documentation]

Requirements

Namespace: Android.Views.Accessibility
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18