One Logo Pool Ball
WiFiAware · IOS API REFERENCE

WACapabilities

struct · iOS 26.0+ · SDK 27.1

struct WACapabilities

A structure that checks the host device's supported features and capabilities.

Members (4)

get · iOS 26.0+

supportedFeatures

TypeScript
static get supportedFeatures(): Array<WACapabilities_Feature>
Swift declaration
static var supportedFeatures: Set<WACapabilities.Feature> { get }

A property that returns a set of supported features, or an empty set if the current platform doesn't support Wi-Fi Aware. If the host device doesn't support Wi-Fi Aware, the system returns an empty set. If a feature is present in the set, it's supported, which you can test by using the code below: ```swift let isSupported = WACapabilities.supportedFeatures.contains(feature) ```

get · iOS 26.0+

maximumConnectableDevices

TypeScript
static get maximumConnectableDevices(): number
Swift declaration
static var maximumConnectableDevices: Int { get }

The maximum number of unique devices your app can connect to simultaneously.

get · iOS 26.0+

maximumPublishableServices

TypeScript
static get maximumPublishableServices(): number
Swift declaration
static var maximumPublishableServices: Int { get }

The maximum number of unique services your app can publish simultaneously.

get · iOS 26.0+

maximumSubscribableServices

TypeScript
static get maximumSubscribableServices(): number
Swift declaration
static var maximumSubscribableServices: Int { get }

The maximum number of unique services your app can simultaneously subscribe to.

Skipped declarations

No declarations were skipped in this snapshot.

All WiFiAware types →