---
title: WAPerformanceMode
framework: wifiaware
role: symbol
role_heading: Enumeration
path: wifiaware/waperformancemode
---

# WAPerformanceMode

The performance mode that indicates what performance criterion to prioritize.

## Declaration

```swift
enum WAPerformanceMode
```

## Overview

Overview important: Each service must have the same WAPerformanceMode on both the NetworkBrowser (subscriber) and NetworkListener (publisher) sides of the connection, or the performance behavior is undefined. If not specified, the performance mode defaults to WAPerformanceMode.bulk on both sides.

## Topics

### Setting performance modes

- [WAPerformanceMode.bulk](wifiaware/waperformancemode/bulk.md)
- [WAPerformanceMode.realtime](wifiaware/waperformancemode/realtime.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Connection performance

- [NWPath](network/nwpath.md)
- [WAPath](wifiaware/wapath.md)
- [WAAccessCategory](wifiaware/waaccesscategory.md)
- [WAPerformanceReport](wifiaware/waperformancereport.md)
