# CredentialTransferCapabilitiesRequest

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/CredentialTransferCapabilitiesRequest.kt+class:androidx.credentials.providerevents.transfer.CredentialTransferCapabilitiesRequest) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/credentials-providerevents#1.0.0-beta01)

*** ** * ** ***


```
class CredentialTransferCapabilitiesRequest
```

<br />

*** ** * ** ***

A request for the state of the provider's credentials that can be exported

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilitiesRequest#CredentialTransferCapabilitiesRequest(kotlin.collections.Set,kotlin.collections.Set)( credentialTypes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>, knownExtensions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html> )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilitiesRequest#credentialTypes()` the credential types that the requester supports. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilitiesRequest#knownExtensions()` the known extensions that the importer supports. |

## Public constructors

### CredentialTransferCapabilitiesRequest

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

```
CredentialTransferCapabilitiesRequest(
    credentialTypes: Set<String>,
    knownExtensions: Set<String>
)
```

## Public properties

### credentialTypes

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

```
val credentialTypes: Set<String>
```

the credential types that the requester supports. By default, this field will be used to filter which `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ExportEntry` will be displayed. The values include, but not limited to, the constants in `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTypes`. This cannot be empty. The exporter should return credentials that map to the requested types. Unknown values should be ignored.

### knownExtensions

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

```
val knownExtensions: Set<String>
```

the known extensions that the importer supports. The values include, but not limited to, the constants in `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/KnownExtensions`. This can be empty. The exporter should return extensions that map to the requested extensions. Unknown values should be ignored.