# ImportCredentialsResponse

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

*** ** * ** ***


```
class ImportCredentialsResponse
```

<br />

*** ** * ** ***

A success response from requesting import.

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ImportCredentialsResponse#responseJson()` is empty, or if it is not a valid JSON |

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ImportCredentialsResponse#ImportCredentialsResponse(kotlin.String)(responseJson: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ImportCredentialsResponse#responseJson()` the credential response json according to the [Fido Credential Exchange Format](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) |

## Public constructors

### ImportCredentialsResponse

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

```
ImportCredentialsResponse(responseJson: String)
```

## Public properties

### responseJson

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

```
val responseJson: String
```

the credential response json according to the [Fido Credential Exchange Format](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html)