Contents

isSupported(_:)

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

Declaration

@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.