<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEKeyEntry",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEKeyEntry"
  },
  "title" : "BEKeyEntry"
}
-->

# BEKeyEntry

A class that represents a keyboard event in the text system.

```
class BEKeyEntry
```

## Topics

### Identifying the key

[`key`](/documentation/BrowserEngineKit/BEKeyEntry/key)

The key that the person presses.

### Getting information about the keypress

[`state`](/documentation/BrowserEngineKit/BEKeyEntry/state)

A value that indicates if the key is pressed.

[`BEKeyEntry.KeyPressState`](/documentation/BrowserEngineKit/BEKeyEntry/KeyPressState)

Key-press states for a keyboard event.

[`isKeyRepeating`](/documentation/BrowserEngineKit/BEKeyEntry/isKeyRepeating)

A Boolean value that indicates whether the person holds a key down to repeat its key event.

[`timestamp`](/documentation/BrowserEngineKit/BEKeyEntry/timestamp)

The time that the key event occurs.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)