---
title: "CredentialSession.Event.fieldStateChanged(info:)"
framework: secureelementcredential
role: symbol
role_heading: Case
path: "secureelementcredential/credentialsession/event/fieldstatechanged(info:)"
---

# CredentialSession.Event.fieldStateChanged(info:)

The state of the NFC RF field changed during card emulation.

## Declaration

```swift
case fieldStateChanged(info: CredentialSession.NFCFieldInformation)
```

## Discussion

Discussion The credential session sends an initial event with the current field state when entering the card emulation state. The session then sends further events if the field state changes. The session only publishes this event when it’s in the card emulation state. You can only receive this event if you have acquired the CredentialSession.PresentmentIntentAssertion.

## See Also

### NFC field events

- [CredentialSession.NFCFieldInformation](secureelementcredential/credentialsession/nfcfieldinformation.md)
