AccessibilityNodeInfo.ActionSetSelection 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.
Caution
This constant will be removed in the future version. Use Android.Views.Accessibility.Action enum directly instead of this field.
Action to set the selection.
[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.", true)]
public const Android.Views.Accessibility.Action ActionSetSelection = 131072;
[<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.", true)>]
val mutable ActionSetSelection : Android.Views.Accessibility.Action
Field Value
Value = 131072Implements
- Attributes
Remarks
Action to set the selection. Performing this action with no arguments clears the selection.
<strong>Arguments:</strong> #ACTION_ARGUMENT_SELECTION_START_INT
, #ACTION_ARGUMENT_SELECTION_END_INT
<br> <strong>Example:</strong> <pre><p> 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);
</pre>
</p>
Java documentation for android.view.accessibility.AccessibilityNodeInfo.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.