<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensorKit",
  "identifier" : "/documentation/SensorKit/SRDeviceUsageReport/ApplicationUsage/textInputSessions",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SensorKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SRApplicationUsage(py)textInputSessions"
  },
  "title" : "textInputSessions"
}
-->

# textInputSessions

The text input session types that occur during application usage.

```
var textInputSessions: [SRTextInputSession] { get }
```

## Discussion

This property contains the text and input sources the framework records as the user enters text in an app. A text-input session starts when the user raises a keyboard and ends when the keyboard dismisses. However, the framework combines a text-input session that contains fewer than 20 words with the subsequent text-input sessions until reaching a 20-word minimum. The framework separates input modes ([`inputModes`](/documentation/SensorKit/SRKeyboardMetrics/inputModes)) such that one input mode doesn’t combine with a text-input session of another mode (such as Spanish-Mexico).

---

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)