---
title: userInfo
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkrefreshbackgroundtask/userinfo
---

# userInfo

Custom information associated with the background task.

## Declaration

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

## Discussion

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