# InlineIssuanceEntry

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/digitalcredentials/InlineIssuanceEntry.kt+class:androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***

<br />

```
public abstract class InlineIssuanceEntry
```

<br />

Known direct subclasses [MdocInlineIssuanceEntry](https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry), [SdJwtInlineIssuanceEntry](https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtInlineIssuanceEntry)

|---|---|
| `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry` | An entry offering the user an opportunity to add a digital credential to your holder / wallet application during the presentation moment. |
| `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/sdjwt/SdJwtInlineIssuanceEntry` | An entry offering the user an opportunity to add a digital credential to your holder / wallet application during the presentation moment. |

*** ** * ** ***

An entry offering the user an opportunity to add a digital credential to your holder / wallet application during the presentation moment.

This serves as a fallback or alternative to a real digital credential that can be presented. When the verifier application requests for a digital credential presentation, it is possible that the user has not officially add their corresponding digital credential(s) to their holder application yet. The `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry` allows the holder application to add the credentials on the fly and then immediately return them, allowing the request, as well as the future requests, to still succeed.

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry#id()` length is greater than 64 characters |

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry.InlineIssuanceDisplayProperties` The display metadata associated with a `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry` to be rendered in a selector UI. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry#InlineIssuanceEntry(kotlin.String,androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry.InlineIssuanceDisplayProperties)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html id, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry.InlineIssuanceDisplayProperties display )` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry.InlineIssuanceDisplayProperties` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry#getDisplay()()` the display properties associated with the given entry |
| `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/digitalcredentials/InlineIssuanceEntry#getId()()` the provider unique identifier of this credential entry, which can be used to identify the exact credential that the user has chosen; it is recommended that you generate this `id` with enough entropy that it cannot be guessed by a third party, e.g. through encrypting this `id` or randomizing it. |

## Public constructors

### InlineIssuanceEntry

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

```
public InlineIssuanceEntry(
    @NonNull String id,
    @NonNull InlineIssuanceEntry.InlineIssuanceDisplayProperties display
)
```

## Public methods

### getDisplay

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

```
public final @NonNull InlineIssuanceEntry.InlineIssuanceDisplayProperties getDisplay()
```

the display properties associated with the given entry

### getId

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

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

the provider unique identifier of this credential entry, which can be used to identify the exact credential that the user has chosen; it is recommended that you generate this `id` with enough entropy that it cannot be guessed by a third party, e.g. through encrypting this `id` or randomizing it.