# AppFunctionName

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

*** ** * ** ***


```
public final class AppFunctionName
```

<br />

*** ** * ** ***

Globally unique identifier for an app function.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionName#AppFunctionName(kotlin.String,kotlin.String)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html packageName, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html functionIdentifier )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/appfunctions/AppFunctionName#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/AppFunctionName#getFunctionIdentifier()()` The identifier of the app function within the `https://developer.android.com/reference/androidx/appfunctions/AppFunctionName#(kotlin.String,kotlin.String)`. |
| `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/AppFunctionName#getPackageName()()` The package name of the Android app which contains the app function. |
| `int` | `https://developer.android.com/reference/androidx/appfunctions/AppFunctionName#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/AppFunctionName#toString()()` |

## Public constructors

### AppFunctionName

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

```
public AppFunctionName(
    @NonNull String packageName,
    @NonNull String functionIdentifier
)
```

## Public methods

### equals

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

### getFunctionIdentifier

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

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

The identifier of the app function within the `https://developer.android.com/reference/androidx/appfunctions/AppFunctionName#(kotlin.String,kotlin.String)`.

### getPackageName

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

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

The package name of the Android app which contains the app function.

### hashCode

```
public int hashCode()
```

### toString

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