One Logo Pool Ball
WiFiAware · IOS API REFERENCE

WAParameters

struct · iOS 26.0+ · SDK 27.1

struct WAParameters

Parameters configuring a Wi-Fi Aware data path connection. You can customize Wi-Fi Aware configuration with the parameters passed in the `.wifiAware()` instruction to the `NetworkBrowser` and `NetworkListener`, or via the `.wifiAware:WAParameters?` property on `NWParameters`. For more information about creating a `NetworkListener`, refer to ``WAPublisherListener/DatapathParameters`` > Important: Each service must have the same ``WAPerformanceMode`` on both the `NetworkBrowser` (subscriber) and `NetworkListener` (publisher) sides of the connection, or the resulting performance behavior is undefined. If not specified, the performance mode defaults to ``WAPerformanceMode/bulk`` on both sides.

Members (5)

get · iOS 26.0+

performanceMode

TypeScript
get performanceMode(): WAPerformanceMode
Swift declaration
var performanceMode: WAPerformanceMode

The initial performance configuration of the data path when connected.

set · iOS 26.0+

performanceMode

TypeScript
set performanceMode(value: WAPerformanceMode)
Swift declaration
var performanceMode: WAPerformanceMode

The initial performance configuration of the data path when connected.

init · iOS 26.0+

init

TypeScript
static init(performanceMode?: WAPerformanceMode): WAParameters
Swift declaration
init(performanceMode: WAPerformanceMode = .bulk)

Initializes the parameters with defaults.

get · iOS 26.0+

defaults

TypeScript
static get defaults(): WAParameters
Swift declaration
static let defaults: WAParameters

The property that configures default parameters that prioritize bulk throughput, power consumption, and other concurrent Wi-Fi use cases. - Returns: Default parameters.

get · iOS 26.0+

realtime

TypeScript
static get realtime(): WAParameters
Swift declaration
static let realtime: WAParameters

The property that configures parameters that prioritize latency at the expense of throughput, power consumption, and other concurrent Wi-Fi use cases. - Returns: Realtime parameters.

Skipped declarations

No declarations were skipped in this snapshot.

All WiFiAware types →