---
title: "encodeXPCReadParams(_:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrdevicecontroller/encodexpcreadparams(_:)"
---

# encodeXPCReadParams(_:)

## Declaration

```swift
class func encodeXPCReadParams(_ params: MTRReadParams) -> [String : Any]?
```
