---
title: "openPairingWindow(_:duration:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrdevicecontroller/openpairingwindow(_:duration:)"
---

# openPairingWindow(_:duration:)

## Declaration

```swift
func openPairingWindow(_ deviceID: UInt64, duration: Int) throws
```
