---
title: "barrierControlStop(withExpectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterbarriercontrol/barriercontrolstop(withexpectedvalues:expectedvalueinterval:completion:)"
---

# barrierControlStop(withExpectedValues:expectedValueInterval:completion:)

## Declaration

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

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