# AppFunctionDeprecationMetadata

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

*** ** * ** ***


```
public final class AppFunctionDeprecationMetadata
```

<br />

*** ** * ** ***

Contains deprecation details for an AppFunction.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/appfunctions/metadata/AppFunctionDeprecationMetadata#AppFunctionDeprecationMetadata(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html message)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/appfunctions/metadata/AppFunctionDeprecationMetadata#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/appfunctions/metadata/AppFunctionDeprecationMetadata#getMessage()()` The message explaining the deprecation and recommending an alternative API to use. |
| `int` | `https://developer.android.com/reference/androidx/appfunctions/metadata/AppFunctionDeprecationMetadata#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/appfunctions/metadata/AppFunctionDeprecationMetadata#toString()()` |

## Public constructors

### AppFunctionDeprecationMetadata

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

```
public AppFunctionDeprecationMetadata(@NonNull String message)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getMessage

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

```
public final @NonNull String getMessage()
```

The message explaining the deprecation and recommending an alternative API to use.

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```