Språk

AccessibilityNodeInfo.SelectionPosition.OffsetType Property

Definition

Returns the offset type.

public Android.Views.Accessibility.AccessibilityNodeInfoSelectionPositionOffsetType OffsetType { [Android.Runtime.Register("getOffsetType", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getOffsetType", "()I", "", ApiSince=37)>]
member this.OffsetType : Android.Views.Accessibility.AccessibilityNodeInfoSelectionPositionOffsetType

Property Value

Value is one of the following: OFFSET_TYPE_TEXT; OFFSET_TYPE_CHILD

Attributes

Remarks

Returns the offset type. If this instance was created without specifying an offset type, this will default to OFFSET_TYPE_TEXT.

Android reference for android.view.accessibility.AccessibilityNodeInfo.SelectionPosition.getOffsetType.

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