Language

AccessibilityNodeInfo.CollectionItemInfo.Obtain Method

Definition

Overloads

Name Description
Obtain(Int32, Int32, Int32, Int32, Boolean, Boolean)

Instantiates a new CollectionItemInfo.

Obtain(Int32, Int32, Int32, Int32, Boolean)

Instantiates a new CollectionItemInfo.

Obtain(Int32, Int32, Int32, Int32, Boolean, Boolean)

Instantiates a new CollectionItemInfo.

[Android.Runtime.Register("obtain", "(IIIIZZ)Landroid/view/accessibility/AccessibilityNodeInfo$CollectionItemInfo;", "")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.CollectionItemInfo? Obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, bool heading, bool selected);
[<Android.Runtime.Register("obtain", "(IIIIZZ)Landroid/view/accessibility/AccessibilityNodeInfo$CollectionItemInfo;", "")>]
static member Obtain : int * int * int * int * bool * bool -> Android.Views.Accessibility.AccessibilityNodeInfo.CollectionItemInfo

Parameters

rowIndex
Int32

The row index at which the item is located.

rowSpan
Int32

The number of rows the item spans.

columnIndex
Int32

The column index at which the item is located.

columnSpan
Int32

The number of columns the item spans.

heading
Boolean

Whether the item is a heading. (Prefer AccessibilityNodeInfo.setHeading(boolean)).

selected
Boolean

Whether the item is selected.

Returns

Attributes

Remarks

This method was deprecated in API level 33. Object pooling has been discontinued. Create a new instance using the constructor AccessibilityNodeInfo.CollectionItemInfo.CollectionItemInfo(int,int,int,int,boolean,boolean) instead.

Instantiates a new CollectionItemInfo.

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.obtain.

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

Obtain(Int32, Int32, Int32, Int32, Boolean)

Instantiates a new CollectionItemInfo.

[Android.Runtime.Register("obtain", "(IIIIZ)Landroid/view/accessibility/AccessibilityNodeInfo$CollectionItemInfo;", "")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.CollectionItemInfo? Obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, bool heading);
[<Android.Runtime.Register("obtain", "(IIIIZ)Landroid/view/accessibility/AccessibilityNodeInfo$CollectionItemInfo;", "")>]
static member Obtain : int * int * int * int * bool -> Android.Views.Accessibility.AccessibilityNodeInfo.CollectionItemInfo

Parameters

rowIndex
Int32

The row index at which the item is located.

rowSpan
Int32

The number of rows the item spans.

columnIndex
Int32

The column index at which the item is located.

columnSpan
Int32

The number of columns the item spans.

heading
Boolean

Whether the item is a heading. (Prefer AccessibilityNodeInfo.setHeading(boolean)).

Returns

Attributes

Remarks

This method was deprecated in API level 33. Object pooling has been discontinued. Create a new instance using the constructor AccessibilityNodeInfo.CollectionItemInfo.CollectionItemInfo(int,int,int,int,boolean) instead.

Instantiates a new CollectionItemInfo.

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.obtain.

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