---
title: "resetWatermarks(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustersoftwarediagnostics/resetwatermarks(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# resetWatermarks(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func resetWatermarks(with params: MTRSoftwareDiagnosticsClusterResetWatermarksParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func resetWatermarks(with params: MTRSoftwareDiagnosticsClusterResetWatermarksParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
