---
title: "isSupported(_:)"
framework: devicediscoveryui
role: symbol
role_heading: Type Method
path: "devicediscoveryui/dddevicepairingviewcontroller/issupported(_:)"
---

# isSupported(_:)

Returns a Boolean value that indicates whether the current device supports device discovery using Wi-FI Aware.

## Declaration

```swift
@MainActor @preconcurrency static func isSupported(_ listenerProvider: any ListenerProvider) -> Bool
```

## Parameters

- `listenerProvider`: A doc://com.apple.documentation/documentaiton/network/ListenerProvider protocol object that defines the service the listener advertises.
