AccessibilityNodeInfo.SelectionPosition.Builder.SetOffsetType Method
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.
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
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.
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.