# RegisterCredentialsResponse

Artifact: [androidx.credentials.registry:registry-provider](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/provider/RegisterCredentialsResponse.kt+class:androidx.credentials.registry.provider.RegisterCredentialsResponse) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
public abstract class RegisterCredentialsResponse
```

<br />

Known direct subclasses [DigitalCredentialRegistryResponse](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialRegistryResponse)

|---|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialRegistryResponse` | The result of calling `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` with a `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialRegistry`. |

*** ** * ** ***

The result of calling `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsResponse#RegisterCredentialsResponse(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html type)` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsResponse#getType()()` the type of the credentials that were registered, matching the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsRequest#type()` |

## Public constructors

### RegisterCredentialsResponse

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public RegisterCredentialsResponse(@NonNull String type)
```

## Public methods

### getType

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

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

the type of the credentials that were registered, matching the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsRequest#type()`