One Logo Pool Ball
WiFiAware · IOS API REFERENCE

WAAccessCategory

enum · iOS 26.0+ · SDK 27.1

enum WAAccessCategory

The underling quality-of-service (QoS) the Wi-Fi layer uses to transmit data packets from a connection over the air. A given `NetworkConnection` is bound to a single access category at the Wi-Fi layer, based on the configuration of `NWParameter`'s `serviceClass` property. This allows your app to specify how the Wi-Fi layer transmits the `NetworkConnection`'s data packets, selecting the performance characteristics that are relevant to the data flow. Wi-Fi is a shared medium, so all Wi-Fi devices, networks, apps, and `NetworkConnection`s share the overall Wi-Fi capacity between them. An app can improve the performance of its data flows, and that of all other nearby devices and Wi-Fi networks, by choosing the lowest QoS category that meets the requirements of each of its flows. When in doubt, use the default `.bestEffort` category. For more information, refer to [NWParameters.ServiceClass](https://developer.apple.com/documentation/network/nwparameters/serviceclass-swift.enum) and [NWParameters](https://developer.apple.com/documentation/network/nwparameters). Access categories are typically created by the system on behalf of the client, so they usually don't need to be instantiated directly.

Members (1)

get · iOS 26.0+

allCases

TypeScript
get allCases(): Array<WAAccessCategory>
Swift declaration
nonisolated static var allCases: [WAAccessCategory] { get }

A collection of all values of this type.

Skipped declarations

No declarations were skipped in this snapshot.

All WiFiAware types →