Sdílet prostřednictvím


AccessibilityRecord.CurrentItemIndex Property

Definition

Gets the index of the source in the list of items the can be visited. -or- Sets the index of the source in the list of items that can be visited.

public virtual int CurrentItemIndex { [Android.Runtime.Register("getCurrentItemIndex", "()I", "GetGetCurrentItemIndexHandler")] get; [Android.Runtime.Register("setCurrentItemIndex", "(I)V", "GetSetCurrentItemIndex_IHandler")] set; }
[<get: Android.Runtime.Register("getCurrentItemIndex", "()I", "GetGetCurrentItemIndexHandler")>]
[<set: Android.Runtime.Register("setCurrentItemIndex", "(I)V", "GetSetCurrentItemIndex_IHandler")>]
member this.CurrentItemIndex : int with get, set

Property Value

The current item index.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the index of the source in the list of items the can be visited.

Java documentation for android.view.accessibility.AccessibilityRecord.getCurrentItemIndex().

Property setter documentation:

Sets the index of the source in the list of items that can be visited.

Java documentation for android.view.accessibility.AccessibilityRecord.setCurrentItemIndex(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