---
title: wifiAware
framework: network
role: symbol
role_heading: Instance Property
path: network/nwendpoint/wifiaware
---

# wifiAware

Get an WAEndpoint that can connect to this NWEndpoint’s remote device over Wi-Fi Aware, or nil if the NWEndpoint is not compatible with Wi-Fi Aware.

## Declaration

```swift
var wifiAware: WAEndpoint? { get }
```

## Return Value

Return Value A new endpoint that can be used to connect over Wi-Fi Aware, or nil if it not compatible with Wi-Fi Aware.

## Discussion

Discussion The returned endpoint can be used to connect to a remote NetworkListener that accepts additional Wi-Fi Aware connections without publishing a service, via  WiFiAware/WAPublisherListener/Action/addingConnections(from:) The returned endpoint will use Wi-Fi Aware as a transport.
