# AppFunctionsChangeEvent.StatesChanged

Artifact: [androidx.appfunctions:appfunctions](https://developer.android.com/jetpack/androidx/releases/appfunctions) [View Source](https://cs.android.com/search?q=file:androidx/appfunctions/AppFunctionsChangeEvent.kt+class:androidx.appfunctions.AppFunctionsChangeEvent.StatesChanged) Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

*** ** * ** ***


```
class AppFunctionsChangeEvent.StatesChanged : AppFunctionsChangeEvent
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.appfunctions.AppFunctionsChangeEvent](https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent) ||
|   | ↳ | [androidx.appfunctions.AppFunctionsChangeEvent.StatesChanged](https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent.StatesChanged) |

*** ** * ** ***

Triggered when the runtime state of one or more app functions changes.

Upon receiving this notification, clients can call `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionManager#getAppFunctionStates(kotlin.collections.List)` to retrieve the updated `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionState` for the affected functions.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent.StatesChanged#StatesChanged(kotlin.collections.Set)(changedFunctionNames: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionName>)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent.StatesChanged#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent.StatesChanged#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent.StatesChanged#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionName>` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionsChangeEvent.StatesChanged#changedFunctionNames()` The set of `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionName`s representing functions whose state has changed. |

## Public constructors

### StatesChanged

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

```
StatesChanged(changedFunctionNames: Set<AppFunctionName>)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### changedFunctionNames

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

```
val changedFunctionNames: Set<AppFunctionName>
```

The set of `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionName`s representing functions whose state has changed.