One Logo Pool Ball
WiFiAware · IOS API REFERENCE

WAPublisherListener.DatapathParameters

struct · iOS 26.0+ · SDK 27.1

struct DatapathParameters

The parameter that sets the initial Wi-Fi Aware data path configuration for any devices that are connected. The `DatapathParameters` is an optional "`datapath:`" component of the `.wifiAware()` instruction to a `NetworkListener`. If you don't set a specific parameter, then the system applies the default parameters with bulk performance mode. The code below is an example of how to set a data path configuration: ```swift NetworkListener(for: .wifiAware( .connecting(to:service, from:.selected(devices)) datapath: .defaults) ) ``` > 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 (2)

get · iOS 26.0+

defaults

TypeScript
static get defaults(): WAPublisherListener_DatapathParameters
Swift declaration
static let defaults: WAPublisherListener.DatapathParameters

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(): WAPublisherListener_DatapathParameters
Swift declaration
static let realtime: WAPublisherListener.DatapathParameters

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

Skipped declarations

No declarations were skipped in this snapshot.

All WiFiAware types →