---
title: "CredentialSession.Event.credentialFinishedInstalling(credential:)"
framework: secureelementcredential
role: symbol
role_heading: Case
path: "secureelementcredential/credentialsession/event/credentialfinishedinstalling(credential:)"
---

# CredentialSession.Event.credentialFinishedInstalling(credential:)

The session finished installing a credential.

## Declaration

```swift
case credentialFinishedInstalling(credential: CredentialSession.Credential)
```

## Discussion

Discussion The associated value credential indicates which credential finished installing. note: The session doesn’t send this event if a credential fails to install. Instead, the credential remains in the CredentialSession.Credential.State.installationPending state until the app calls listCredentials(). This call allows the framework to confirm that the installation failed and transitions the credential state to CredentialSession.Credential.State.installationFailed.

## See Also

### Credential events

- [CredentialSession.Credential](secureelementcredential/credentialsession/credential.md)
