<!--
{
  "availability" : [
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKRefreshBackgroundTask/userInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKRefreshBackgroundTask(py)userInfo"
  },
  "title" : "userInfo"
}
-->

# userInfo

Custom information associated with the background task.

```
var userInfo: (any NSSecureCoding & NSObjectProtocol)? { get }
```

## Discussion

If there is no data associated with the task, this property is set to `nil`.

---

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)