AccessibilityNodeInfo.SelectionPosition.Builder Constructors
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.
Overloads
| Name | Description |
|---|---|
| AccessibilityNodeInfo.SelectionPosition.Builder(AccessibilityNodeInfo, Int32) |
Creates a new Builder. |
| AccessibilityNodeInfo.SelectionPosition.Builder(View, Int32) |
Creates a new Builder. |
| AccessibilityNodeInfo.SelectionPosition.Builder(View, Int32, Int32) |
Creates a new Builder. |
AccessibilityNodeInfo.SelectionPosition.Builder(AccessibilityNodeInfo, Int32)
Creates a new Builder.
[Android.Runtime.Register(".ctor", "(Landroid/view/accessibility/AccessibilityNodeInfo;I)V", "", ApiSince=37)]
public Builder(Android.Views.Accessibility.AccessibilityNodeInfo node, int offset);
[<Android.Runtime.Register(".ctor", "(Landroid/view/accessibility/AccessibilityNodeInfo;I)V", "", ApiSince=37)>]
new Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder : Android.Views.Accessibility.AccessibilityNodeInfo * int -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder
Parameters
The AccessibilityNodeInfo for the node of this position. This value cannot be null.
- offset
- Int32
The offset for the position.
- Attributes
Remarks
Creates a new Builder.
By default, the offset type is initialized to AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_TEXT.
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
AccessibilityNodeInfo.SelectionPosition.Builder(View, Int32)
Creates a new Builder.
[Android.Runtime.Register(".ctor", "(Landroid/view/View;I)V", "", ApiSince=37)]
public Builder(Android.Views.View view, int offset);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;I)V", "", ApiSince=37)>]
new Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder : Android.Views.View * int -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder
Parameters
- view
- View
The View containing the text associated with this selection. This value cannot be null.
- offset
- Int32
The offset for the position.
- Attributes
Remarks
Creates a new Builder.
By default, the offset type is initialized to AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_TEXT.
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
AccessibilityNodeInfo.SelectionPosition.Builder(View, Int32, Int32)
Creates a new Builder.
[Android.Runtime.Register(".ctor", "(Landroid/view/View;II)V", "", ApiSince=37)]
public Builder(Android.Views.View view, int virtualDescendantId, int offset);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;II)V", "", ApiSince=37)>]
new Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder : Android.Views.View * int * int -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder
Parameters
- view
- View
The view whose virtual descendant is associated with the selection position. This value cannot be null.
- virtualDescendantId
- Int32
The virtual descendant id.
- offset
- Int32
The offset for the position.
- Attributes
Remarks
Creates a new Builder.
By default, the offset type is initialized to AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_TEXT.
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.