# CustomCredentialEntry

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

*** ** * ** ***

<br />

```
@RequiresApi(value = 23)
class CustomCredentialEntry : CredentialEntry
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.credentials.provider.CredentialEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry) ||
|   | ↳ | [androidx.credentials.provider.CustomCredentialEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry) |

*** ** * ** ***

Custom credential entry for a custom credential type that is displayed on the account selector UI.

Each entry corresponds to an account that can provide a credential.

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#type()` or `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#title()` are empty |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry` |   |

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry` |

| ### Public companion functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry?` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#fromCredentialEntry(android.service.credentials.CredentialEntry)(credentialEntry: https://developer.android.com/reference/android/service/credentials/CredentialEntry.html)` Converts a framework `https://developer.android.com/reference/android/service/credentials/CredentialEntry.html` class to a Jetpack `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry` class |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#CustomCredentialEntry(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean)( context: https://developer.android.com/reference/android/content/Context.html, title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html, pendingIntent: https://developer.android.com/reference/android/app/PendingIntent.html, beginGetCredentialOption: https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialOption, subtitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?, typeDisplayName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?, lastUsedTime: https://developer.android.com/reference/java/time/Instant.html?, icon: https://developer.android.com/reference/android/graphics/drawable/Icon.html, isAutoSelectAllowed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, entryGroupId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html, isDefaultIconPreferredAsSingleProvider: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi(value = 35) https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#CustomCredentialEntry(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean,androidx.credentials.provider.BiometricPromptData)( context: https://developer.android.com/reference/android/content/Context.html, title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html, pendingIntent: https://developer.android.com/reference/android/app/PendingIntent.html, beginGetCredentialOption: https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialOption, subtitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?, typeDisplayName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?, lastUsedTime: https://developer.android.com/reference/java/time/Instant.html?, icon: https://developer.android.com/reference/android/graphics/drawable/Icon.html, isAutoSelectAllowed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, entryGroupId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html, isDefaultIconPreferredAsSingleProvider: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, biometricPromptData: https://developer.android.com/reference/kotlin/androidx/credentials/provider/BiometricPromptData? )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#hasDefaultIcon()` whether this entry was created without a custom icon and hence contains a default icon set by the library, only to be used in Android API levels \>= 28 |
| `https://developer.android.com/reference/android/graphics/drawable/Icon.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#icon()` the icon to be displayed with this entry on the UI, must be created using `https://developer.android.com/reference/android/graphics/drawable/Icon.html#createWithResource(android.content.Context, int)` when possible, and especially not with `https://developer.android.com/reference/android/graphics/drawable/Icon.html#createWithBitmap(android.graphics.Bitmap)` as the latter consumes more memory and may cause undefined behavior due to memory implications on internal transactions; defaulted to a fallback custom credential icon if not provided |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#isAutoSelectAllowed()` whether this entry is allowed to be auto selected if it is the only one on the UI. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#isAutoSelectAllowedFromOption()` whether the `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(kotlin.String,kotlin.CharSequence,android.app.PendingIntent,kotlin.Boolean,kotlin.CharSequence,kotlin.CharSequence,android.graphics.drawable.Icon,java.time.Instant,androidx.credentials.provider.BeginGetCredentialOption,kotlin.Boolean,kotlin.CharSequence,kotlin.CharSequence,androidx.credentials.provider.BiometricPromptData,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)` request for which this entry was created allows this entry to be auto-selected |
| `https://developer.android.com/reference/java/time/Instant.html?` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#lastUsedTime()` the last used time the credential underlying this entry was used by the user. |
| `https://developer.android.com/reference/android/app/PendingIntent.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#pendingIntent()` the `https://developer.android.com/reference/android/app/PendingIntent.html` that will get invoked when the user selects this entry, must be created with flag `https://developer.android.com/reference/android/app/PendingIntent.html#FLAG_MUTABLE` to allow the Android system to attach the final request |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#subtitle()` the subTitle shown with this entry on the selector UI |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#title()` the title shown with this entry on the selector UI |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#type()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#typeDisplayName()` the friendly name to be displayed on the UI for the type of the credential |

### Inherited properties

From [androidx.credentials.provider.CredentialEntry](https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry#affiliatedDomain()`

the user visible affiliated domain, a CharSequence representation of a web domain or an app package name that the given credential in this entry is associated with when it is different from the requesting entity, default null
`https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialOption` `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry#beginGetCredentialOption()`

the option from the original `https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialRequest`, for which this credential entry is being added
`https://developer.android.com/reference/kotlin/androidx/credentials/provider/BiometricPromptData?` `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry#biometricPromptData()`

the data that is set optionally to utilize a credential manager flow that directly handles the biometric verification and presents back the response; set to null by default, so if not opted in, the embedded biometric prompt flow will not show
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry#entryGroupId()`

an ID used for deduplication or to group entries during display
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CredentialEntry#isDefaultIconPreferredAsSingleProvider()`

when set to true, the UI prefers to render the default credential type icon when you are the only available provider; see individual subclasses for these default icons (e.g. for `https://developer.android.com/reference/kotlin/androidx/credentials/provider/PublicKeyCredentialEntry`, it is based on `R.drawable.adx_ic_password`)

## Public companion functions

### fromCredentialEntry

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.3.0)

```
fun fromCredentialEntry(credentialEntry: CredentialEntry): CustomCredentialEntry?
```

Converts a framework `https://developer.android.com/reference/android/service/credentials/CredentialEntry.html` class to a Jetpack `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry` class

| Parameters |
|---|---|
| `credentialEntry: https://developer.android.com/reference/android/service/credentials/CredentialEntry.html` | the instance of framework class to be converted |

## Public constructors

### CustomCredentialEntry

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.3.0)

```
CustomCredentialEntry(
    context: Context,
    title: CharSequence,
    pendingIntent: PendingIntent,
    beginGetCredentialOption: BeginGetCredentialOption,
    subtitle: CharSequence? = null,
    typeDisplayName: CharSequence? = null,
    lastUsedTime: Instant? = null,
    icon: Icon = Icon.createWithResource(context, R.drawable.adx_ic_other_sign_in),
    isAutoSelectAllowed: Boolean = false,
    entryGroupId: CharSequence = title,
    isDefaultIconPreferredAsSingleProvider: Boolean = false
)
```

| Parameters |
|---|---|
| `context: https://developer.android.com/reference/android/content/Context.html` | the context of the calling app, required to retrieve fallback resources |
| `title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` | the title shown with this entry on the selector UI |
| `pendingIntent: https://developer.android.com/reference/android/app/PendingIntent.html` | the `https://developer.android.com/reference/android/app/PendingIntent.html` that will get invoked when the user selects this entry, must be created with flag `https://developer.android.com/reference/android/app/PendingIntent.html#FLAG_MUTABLE` to allow the Android system to attach the final request |
| `beginGetCredentialOption: https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialOption` | the option from the original `https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialRequest`, for which this credential entry is being added |
| `subtitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html? = null` | the subTitle shown with this entry on the selector UI |
| `typeDisplayName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html? = null` | the friendly name to be displayed on the UI for the type of the credential |
| `lastUsedTime: https://developer.android.com/reference/java/time/Instant.html? = null` | the last used time the credential underlying this entry was used by the user, distinguishable up to the milli second mark only such that if two entries have the same millisecond precision, they will be considered to have been used at the same time |
| `icon: https://developer.android.com/reference/android/graphics/drawable/Icon.html = Icon.createWithResource(context, R.drawable.adx_ic_other_sign_in)` | the icon to be displayed with this entry on the selector UI, if not set a default icon representing a custom credential type is set by the library |
| `isAutoSelectAllowed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = false` | whether this entry is allowed to be auto selected if it is the only one on the UI, only takes effect if the app requesting for credentials also opts for auto select |
| `entryGroupId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html = title` | an ID to uniquely mark this entry for deduplication or to group entries during display, set to `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean)` by default |
| `isDefaultIconPreferredAsSingleProvider: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = false` | when set to true, the UI prefers to render the default credential type icon (see the default value of `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean)`) when you are the only available provider; false by default |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#type()` or `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean)` are empty |

### CustomCredentialEntry

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.5.0)

```
@RequiresApi(value = 35)
CustomCredentialEntry(
    context: Context,
    title: CharSequence,
    pendingIntent: PendingIntent,
    beginGetCredentialOption: BeginGetCredentialOption,
    subtitle: CharSequence? = null,
    typeDisplayName: CharSequence? = null,
    lastUsedTime: Instant? = null,
    icon: Icon = Icon.createWithResource(context, R.drawable.adx_ic_other_sign_in),
    isAutoSelectAllowed: Boolean = false,
    entryGroupId: CharSequence = title,
    isDefaultIconPreferredAsSingleProvider: Boolean = false,
    biometricPromptData: BiometricPromptData? = null
)
```

| Parameters |
|---|---|
| `context: https://developer.android.com/reference/android/content/Context.html` | the context of the calling app, required to retrieve fallback resources |
| `title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` | the title shown with this entry on the selector UI |
| `pendingIntent: https://developer.android.com/reference/android/app/PendingIntent.html` | the `https://developer.android.com/reference/android/app/PendingIntent.html` that will get invoked when the user selects this entry, must be created with flag `https://developer.android.com/reference/android/app/PendingIntent.html#FLAG_MUTABLE` to allow the Android system to attach the final request |
| `beginGetCredentialOption: https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialOption` | the option from the original `https://developer.android.com/reference/kotlin/androidx/credentials/provider/BeginGetCredentialRequest`, for which this credential entry is being added |
| `subtitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html? = null` | the subTitle shown with this entry on the selector UI |
| `typeDisplayName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html? = null` | the friendly name to be displayed on the UI for the type of the credential |
| `lastUsedTime: https://developer.android.com/reference/java/time/Instant.html? = null` | the last used time the credential underlying this entry was used by the user, distinguishable up to the milli second mark only such that if two entries have the same millisecond precision, they will be considered to have been used at the same time |
| `icon: https://developer.android.com/reference/android/graphics/drawable/Icon.html = Icon.createWithResource(context, R.drawable.adx_ic_other_sign_in)` | the icon to be displayed with this entry on the selector UI, if not set a default icon representing a custom credential type is set by the library |
| `isAutoSelectAllowed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = false` | whether this entry is allowed to be auto selected if it is the only one on the UI, only takes effect if the app requesting for credentials also opts for auto select |
| `entryGroupId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html = title` | an ID to uniquely mark this entry for deduplication or to group entries during display, set to `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean,androidx.credentials.provider.BiometricPromptData)` by default |
| `isDefaultIconPreferredAsSingleProvider: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = false` | when set to true, the UI prefers to render the default credential type icon (see the default value of `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean,androidx.credentials.provider.BiometricPromptData)`) when you are the only available provider; false by default |
| `biometricPromptData: https://developer.android.com/reference/kotlin/androidx/credentials/provider/BiometricPromptData? = null` | the data that is set optionally to utilize a credential manager flow that directly handles the biometric verification and presents back the response; set to null by default, so if not opted in, the embedded biometric prompt flow will not show |

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#type()` or `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(android.content.Context,kotlin.CharSequence,android.app.PendingIntent,androidx.credentials.provider.BeginGetCredentialOption,kotlin.CharSequence,kotlin.CharSequence,java.time.Instant,android.graphics.drawable.Icon,kotlin.Boolean,kotlin.CharSequence,kotlin.Boolean,androidx.credentials.provider.BiometricPromptData)` are empty |

## Public properties

### hasDefaultIcon

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.3.0)

```
val hasDefaultIcon: Boolean
```

whether this entry was created without a custom icon and hence contains a default icon set by the library, only to be used in Android API levels \>= 28

### icon

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val icon: Icon
```

the icon to be displayed with this entry on the UI, must be created using `https://developer.android.com/reference/android/graphics/drawable/Icon.html#createWithResource(android.content.Context, int)` when possible, and especially not with `https://developer.android.com/reference/android/graphics/drawable/Icon.html#createWithBitmap(android.graphics.Bitmap)` as the latter consumes more memory and may cause undefined behavior due to memory implications on internal transactions; defaulted to a fallback custom credential icon if not provided

### isAutoSelectAllowed

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val isAutoSelectAllowed: Boolean
```

whether this entry is allowed to be auto selected if it is the only one on the UI. Note that setting this value to true does not guarantee this behavior. The developer must also set this to true, and the framework must determine that only one entry is present

### isAutoSelectAllowedFromOption

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.3.0)

```
val isAutoSelectAllowedFromOption: Boolean
```

whether the `https://developer.android.com/reference/kotlin/androidx/credentials/provider/CustomCredentialEntry#(kotlin.String,kotlin.CharSequence,android.app.PendingIntent,kotlin.Boolean,kotlin.CharSequence,kotlin.CharSequence,android.graphics.drawable.Icon,java.time.Instant,androidx.credentials.provider.BeginGetCredentialOption,kotlin.Boolean,kotlin.CharSequence,kotlin.CharSequence,androidx.credentials.provider.BiometricPromptData,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)` request for which this entry was created allows this entry to be auto-selected

### lastUsedTime

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val lastUsedTime: Instant?
```

the last used time the credential underlying this entry was used by the user. Note that this value will only be distinguishable up to the milli second mark. If two entries have the same millisecond precision, they will be considered to have been used at the same time

### pendingIntent

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val pendingIntent: PendingIntent
```

the `https://developer.android.com/reference/android/app/PendingIntent.html` that will get invoked when the user selects this entry, must be created with flag `https://developer.android.com/reference/android/app/PendingIntent.html#FLAG_MUTABLE` to allow the Android system to attach the final request

### subtitle

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val subtitle: CharSequence?
```

the subTitle shown with this entry on the selector UI

### title

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val title: CharSequence
```

the title shown with this entry on the selector UI

### type

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
open val type: String
```

### typeDisplayName

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
val typeDisplayName: CharSequence?
```

the friendly name to be displayed on the UI for the type of the credential