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

# WASubscribableService

A service your app discovers on remote devices and can connect to.

```
struct WASubscribableService
```

## Overview

You specify the services your app uses in `Info.plist` via a dictionary under the `WiFiAwareServices` key:

- Each *key* in that dictionary is the full name of a service, and the *value* is a dictionary of configuration properties for that service.
- If the configuration dictionary contains the `Subscribable` key, the system creates a `WASubscribableService`  for that service and makes it available in `WASubscribableService.allServices`.

## Topics

### Selecting from your app’s subscribable services

[`allServices`](/documentation/WiFiAware/WASubscribableService/allServices)

A dictionary of all subscribable services declared by your app, indexed by service name.

### Checking a service name and ID

[`ID`](/documentation/WiFiAware/WASubscribableService/ID-swift.typealias)

The type of value that uniquely identifies the service.

[`id`](/documentation/WiFiAware/WASubscribableService/id-swift.property)

A stable ID that can be used to identify this subscribable service.

[`name`](/documentation/WiFiAware/WASubscribableService/name)

The full name of the service, as sent over the air.

### Getting a String description

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

A string description of the service.

### Creating a service

### Encoding

### Comparing results

## Relationships

### Conforms To

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

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

[`WAService`](/documentation/WiFiAware/WAService)

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

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

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

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

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

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

---

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)