Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vkanellopoulos committed Jul 25, 2024
1 parent 1b92e57 commit 7b4def6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,12 @@ When the document issuance is deferred, the `IssueEvent.DocumentDeferred` event
be issued later by calling the `OpenId4VciManager.issueDeferredDocument` method.

```kotlin
val documentId = "documentId"
// given a deferred document, for example:
val deferredDocument = EudiWallet.getDocumentById(deferredDocumentId) as DeferredDocument

val openId4VciManager: OpenId4VciManager = EudiWallet.createOpenId4VciManager()

openId4VciManager.issueDeferredDocument(documentId) { result ->
openId4VciManager.issueDeferredDocument(deferredDocument) { result ->
when (result) {
is DeferredIssueResult.DocumentIssued -> {
// document issued
Expand Down

0 comments on commit 7b4def6

Please sign in to comment.