# Filter.FilterResults

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# FilterResults

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/android/widget/Filter.FilterResults "View this page in Java")  

```
protected open class FilterResults
```

|---|----------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                             ||
| ↳ | [android.widget.Filter.FilterResults](https://developer.android.com/reference/kotlin/android/widget/Filter.FilterResults#) |

Holds the results of a filtering operation. The results are the values computed by the filtering operation and the number of these values.

## Summary

|                                                        Public constructors                                                        ||
|--------------------------------------------------------------------------------------------------------------------------------|---|
| [FilterResults](https://developer.android.com/reference/kotlin/android/widget/Filter.FilterResults#FilterResults())`()` <br /> |

|                                                                                                                          Properties                                                                                                                          ||
|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)  | [count](https://developer.android.com/reference/kotlin/android/widget/Filter.FilterResults#count:kotlin.Int) Contains the number of values computed by the filtering operation. |
| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [values](https://developer.android.com/reference/kotlin/android/widget/Filter.FilterResults#values:kotlin.Any) Contains all the values computed by the filtering operation.     |

## Public constructors

### FilterResults

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
FilterResults()
```

## Properties

### count

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var count: Int
```

Contains the number of values computed by the filtering operation.  

### values

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var values: Any!
```

Contains all the values computed by the filtering operation.