# CredentialTransferCapabilities

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

*** ** * ** ***


```
class CredentialTransferCapabilities
```

<br />

*** ** * ** ***

The state of the primary provider's credentials

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilities#CredentialTransferCapabilities(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Long)( totalNumCredentials: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, numPasswords: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, numPublicKeyCredentials: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, totalSizeBytes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilities#numPasswords()` the number of passwords the provider holds |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilities#numPublicKeyCredentials()` the number of public key credentials the provider holds |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilities#totalNumCredentials()` the total number of credentials the provider holds |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/CredentialTransferCapabilities#totalSizeBytes()` the total size of credentials the provider will export |

## Public constructors

### CredentialTransferCapabilities

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

```
CredentialTransferCapabilities(
    totalNumCredentials: Int,
    numPasswords: Int,
    numPublicKeyCredentials: Int,
    totalSizeBytes: Long
)
```

## Public properties

### numPasswords

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

```
val numPasswords: Int
```

the number of passwords the provider holds

### numPublicKeyCredentials

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

```
val numPublicKeyCredentials: Int
```

the number of public key credentials the provider holds

### totalNumCredentials

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

```
val totalNumCredentials: Int
```

the total number of credentials the provider holds

### totalSizeBytes

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

```
val totalSizeBytes: Long
```

the total size of credentials the provider will export