---
title: stateEntryFormat
framework: coreservices
role: symbol
role_heading: Instance Property
path: coreservices/uckeystaterecord/1390450-stateentryformat
---

# stateEntryFormat

An unsigned 16-bit integer specifying the format of the data in the stateEntryData field’s array. This should be 0 if the stateEntryCount field is set to 0. Currently available values are kUCKeyStateEntryTerminalFormat and kUCKeyStateEntryRangeFormat; see Key State Entry Formats for descriptions of these values.

## Declaration

```swift
var stateEntryFormat: UInt16
```
