Lingua

AccessibilityNodeInfo.SelectionPosition Constructors

Definition

Overloads

Name Description
AccessibilityNodeInfo.SelectionPosition(AccessibilityNodeInfo, Int32)

Instantiates a new SelectionPosition.

AccessibilityNodeInfo.SelectionPosition(View, Int32)

Instantiates a new SelectionPosition.

AccessibilityNodeInfo.SelectionPosition(View, Int32, Int32)

Instantiates a new SelectionPosition.

AccessibilityNodeInfo.SelectionPosition(AccessibilityNodeInfo, Int32)

Instantiates a new SelectionPosition.

[Android.Runtime.Register(".ctor", "(Landroid/view/accessibility/AccessibilityNodeInfo;I)V", "", ApiSince=36)]
public SelectionPosition(Android.Views.Accessibility.AccessibilityNodeInfo node, int offset);
[<Android.Runtime.Register(".ctor", "(Landroid/view/accessibility/AccessibilityNodeInfo;I)V", "", ApiSince=36)>]
new Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition : Android.Views.Accessibility.AccessibilityNodeInfo * int -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition

Parameters

node
AccessibilityNodeInfo

The AccessibilityNodeInfo for the node of this selection.

offset
Int32

The offset for a SelectionPosition within view's text content, which should be a value between 0 and the length of view's text.

Attributes

Remarks

Instantiates a new SelectionPosition.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.SelectionPosition.AccessibilityNodeInfo$SelectionPosition(android.view.accessibility.AccessibilityNodeInfo, int).

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(View, Int32)

Instantiates a new SelectionPosition.

[Android.Runtime.Register(".ctor", "(Landroid/view/View;I)V", "", ApiSince=36)]
public SelectionPosition(Android.Views.View view, int offset);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;I)V", "", ApiSince=36)>]
new Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition : Android.Views.View * int -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition

Parameters

view
View

The View containing the text associated with this selection position.

offset
Int32

The offset for a selection position within view's text content, which should be a value between 0 and the length of view's text.

Attributes

Applies to

AccessibilityNodeInfo.SelectionPosition(View, Int32, Int32)

Instantiates a new SelectionPosition.

[Android.Runtime.Register(".ctor", "(Landroid/view/View;II)V", "", ApiSince=36)]
public SelectionPosition(Android.Views.View view, int virtualDescendantId, int offset);
[<Android.Runtime.Register(".ctor", "(Landroid/view/View;II)V", "", ApiSince=36)>]
new Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition : Android.Views.View * int * int -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition

Parameters

view
View

The view whose virtual descendant is associated with the selection position.

virtualDescendantId
Int32

The ID of the virtual descendant within view's virtual subtree that contains the selection position.

offset
Int32

The offset for a selection position within the virtual descendant's text content, which should be a value between 0 and the length of the descendant's text.

Attributes

Applies to