# MdocInlineIssuanceEntry

Artifact: [androidx.credentials.registry:registry-digitalcredentials-mdoc](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry.kt+class:androidx.credentials.registry.digitalcredentials.mdoc.MdocInlineIssuanceEntry) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***

<br />

```
public final class MdocInlineIssuanceEntry extends InlineIssuanceEntry
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry) ||
|   | ↳ | [androidx.credentials.registry.digitalcredentials.mdoc.MdocInlineIssuanceEntry](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.

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/digitalcredentials/mdoc/MdocInlineIssuanceEntry` 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/digitalcredentials/mdoc/MdocInlineIssuanceEntry#(kotlin.String,androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry.InlineIssuanceDisplayProperties,kotlin.collections.Set)` length is greater than 64 characters |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry#supportedMdocs()` is empty |

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry.SupportedMdoc` Configuration determining whether the `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry` should be offered for a presentation request |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry#MdocInlineIssuanceEntry(kotlin.String,androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry.InlineIssuanceDisplayProperties,kotlin.collections.Set)( @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, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry.SupportedMdoc> supportedMdocs )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry.SupportedMdoc>` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry#getSupportedMdocs()()` supported mdocs to offer the inline issuance flow; cannot be empty |
| `int` | `https://developer.android.com/reference/androidx/credentials/registry/digitalcredentials/mdoc/MdocInlineIssuanceEntry#hashCode()()` |

### Inherited methods

From [androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/InlineIssuanceEntry) `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

### MdocInlineIssuanceEntry

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

```
public MdocInlineIssuanceEntry(
    @NonNull String id,
    @NonNull InlineIssuanceEntry.InlineIssuanceDisplayProperties display,
    @NonNull Set<@NonNull MdocInlineIssuanceEntry.SupportedMdoc> supportedMdocs
)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getSupportedMdocs

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

```
public final @NonNull Set<@NonNull MdocInlineIssuanceEntry.SupportedMdoc> getSupportedMdocs()
```

supported mdocs to offer the inline issuance flow; cannot be empty

### hashCode

```
public int hashCode()
```