---
title: "setCookingParametersWithExpectedValues(_:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustermicrowaveovencontrol/setcookingparameterswithexpectedvalues(_:expectedvalueinterval:completion:)"
---

# setCookingParametersWithExpectedValues(_:expectedValueInterval:completion:)

## Declaration

```swift
func setCookingParametersWithExpectedValues(_ expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func setCookingParametersWithExpectedValues(_ expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
