---
title: "CollectionInfo"
description: "Information about the collection.

A collection of items has [rowCount] rows and [columnCount] columns. For example, a vertical list
is a collection with one column, as many rows as the list items that are important for
accessibility; A table is a collection with several rows and several columns."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class CollectionInfo(val rowCount: Int, val columnCount: Int)
```


Information about the collection.

A collection of items has `rowCount` rows and `columnCount` columns. For example, a vertical list
is a collection with one column, as many rows as the list items that are important for
accessibility; A table is a collection with several rows and several columns.

#### Parameters

| | |
| --- | --- |
| rowCount | the number of rows in the collection, or -1 if unknown |
| columnCount | the number of columns in the collection, or -1 if unknown |




