<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiAware",
  "identifier" : "/documentation/WiFiAware/WAEndpoint",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Wi-Fi Aware"
    ],
    "preciseIdentifier" : "s:9WiFiAware10WAEndpointV"
  },
  "title" : "WAEndpoint"
}
-->

# WAEndpoint

The endpoint of a Wi-Fi Aware connection.

```
struct WAEndpoint
```

## Topics

### Getting the service

[`publishedService`](/documentation/WiFiAware/WAEndpoint/publishedService)

The publishable service that is, or can be, connected.

[`subscribedService`](/documentation/WiFiAware/WAEndpoint/subscribedService)

The subscribable service that is, or can be, connected.

### Getting the device anchoring the endpoint

[`device`](/documentation/WiFiAware/WAEndpoint/device)

The remote device that is, or can be, connected.

### Getting a string description

[`description`](/documentation/WiFiAware/WAEndpoint/description)

The description of the object.

### Hashing and comparing

[`==(_:_:)`](/documentation/WiFiAware/WAEndpoint/==(_:_:))

Two endpoints are logically equivalent if they have the same service type (publish vs subscribe) with the same name, and refer to the same device.

[`hash(into:)`](/documentation/WiFiAware/WAEndpoint/hash(into:))

Compute unique hash of this object.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Connectable`](/documentation/Network/Connectable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)