Dil

AccessibilityNodeInfo.SelectionPosition.Builder.SetOffsetType Method

Definition

Sets the offset type for the position.

[Android.Runtime.Register("setOffsetType", "(I)Landroid/view/accessibility/AccessibilityNodeInfo$SelectionPosition$Builder;", "", ApiSince=37)]
public Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder SetOffsetType(Android.Views.Accessibility.AccessibilityNodeInfoSelectionPositionOffsetType offsetType);
[<Android.Runtime.Register("setOffsetType", "(I)Landroid/view/accessibility/AccessibilityNodeInfo$SelectionPosition$Builder;", "", ApiSince=37)>]
member this.SetOffsetType : Android.Views.Accessibility.AccessibilityNodeInfoSelectionPositionOffsetType -> Android.Views.Accessibility.AccessibilityNodeInfo.SelectionPosition.Builder

Parameters

offsetType
AccessibilityNodeInfoSelectionPositionOffsetType

The scheme dictating how the offset should be interpreted. Value is one of the following: AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_TEXT; AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_CHILD

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the offset type for the position.

Android reference for android.view.accessibility.AccessibilityNodeInfo.SelectionPosition.Builder.setOffsetType.

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