<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/keys-for-notification-userinfo-dictionary",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Keys for Notification UserInfo Dictionary"
}
-->

# Keys for Notification UserInfo Dictionary

Strings that the system uses as keys in a userinfo dictionary during a file handle notification.

## Topics

### Constants

[`let NSFileHandleNotificationFileHandleItem: String`](/documentation/Foundation/NSFileHandleNotificationFileHandleItem)

A key in the userinfo dictionary in a [`NSFileHandleConnectionAccepted`](/documentation/Foundation/NSNotification/Name-swift.struct/NSFileHandleConnectionAccepted) notification.

[`let NSFileHandleNotificationDataItem: String`](/documentation/Foundation/NSFileHandleNotificationDataItem)

A key in the userinfo dictionary in a [`readCompletionNotification`](/documentation/Foundation/FileHandle/readCompletionNotification) and [`NSFileHandleReadToEndOfFileCompletion`](/documentation/Foundation/NSNotification/Name-swift.struct/NSFileHandleReadToEndOfFileCompletion).

[`let NSFileHandleNotificationMonitorModes: String`](/documentation/Foundation/NSFileHandleNotificationMonitorModes)

Currently unused.



---

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)