AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder


class AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder


Builder for creating CollectionItemInfoCompat objects.

Summary

Public constructors

Creates a new Builder.

Public functions

AccessibilityNodeInfoCompat.CollectionItemInfoCompat

Builds and returns a AccessibilityNodeInfo.CollectionItemInfo.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setColumnIndex(columnIndex: Int)

Sets the column index at which the item is located.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setColumnSpan(columnSpan: Int)

Sets the number of columns the item spans.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setColumnTitle(columnTitle: String?)

Sets the column title at which the item is located.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setHeading(heading: Boolean)

Sets the collection item is a heading.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setRowIndex(rowIndex: Int)

Sets the row index at which the item is located.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setRowSpan(rowSpan: Int)

Sets the number of rows the item spans.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setRowTitle(rowTitle: String?)

Sets the row title at which the item is located.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder
setSelected(selected: Boolean)

Sets the collection item is selected.

Public constructors

Builder

Added in 1.12.0
Builder()

Creates a new Builder.

Public functions

setColumnIndex

Added in 1.12.0
fun setColumnIndex(columnIndex: Int): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the column index at which the item is located.

Parameters
columnIndex: Int

The column index

setColumnSpan

Added in 1.12.0
fun setColumnSpan(columnSpan: Int): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the number of columns the item spans.

Parameters
columnSpan: Int

The number of columns spans

setColumnTitle

Added in 1.12.0
fun setColumnTitle(columnTitle: String?): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the column title at which the item is located.

Parameters
columnTitle: String?

The column title

setHeading

Added in 1.12.0
fun setHeading(heading: Boolean): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the collection item is a heading.

Parameters
heading: Boolean

The heading state

setRowIndex

Added in 1.12.0
fun setRowIndex(rowIndex: Int): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the row index at which the item is located.

Parameters
rowIndex: Int

The row index

setRowSpan

Added in 1.12.0
fun setRowSpan(rowSpan: Int): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the number of rows the item spans.

Parameters
rowSpan: Int

The number of rows spans

setRowTitle

Added in 1.12.0
fun setRowTitle(rowTitle: String?): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the row title at which the item is located.

Parameters
rowTitle: String?

The row title

setSelected

Added in 1.12.0
fun setSelected(selected: Boolean): AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Sets the collection item is selected.

Parameters
selected: Boolean

The number of rows spans