---
title: "validationKeyPressed(in:)"
framework: cryptotokenkit
role: symbol
role_heading: Instance Method
path: "cryptotokenkit/tksmartcarduserinteractiondelegate/validationkeypressed(in:)"
---

# validationKeyPressed(in:)

Tells the delegate that the validation key has been pressed, indicating the end of PIN entry.

## Declaration

```swift
optional func validationKeyPressed(in interaction: TKSmartCardUserInteraction)
```

## Parameters

- `interaction`: The user interaction.

## See Also

### Delegate Methods

- [characterEntered(in:)](cryptotokenkit/tksmartcarduserinteractiondelegate/characterentered(in:).md)
- [correctionKeyPressed(in:)](cryptotokenkit/tksmartcarduserinteractiondelegate/correctionkeypressed(in:).md)
- [invalidCharacterEntered(in:)](cryptotokenkit/tksmartcarduserinteractiondelegate/invalidcharacterentered(in:).md)
- [oldPINRequested(in:)](cryptotokenkit/tksmartcarduserinteractiondelegate/oldpinrequested(in:).md)
- [newPINRequested(in:)](cryptotokenkit/tksmartcarduserinteractiondelegate/newpinrequested(in:).md)
- [newPINConfirmationRequested(in:)](cryptotokenkit/tksmartcarduserinteractiondelegate/newpinconfirmationrequested(in:).md)
