---
title: WASubscribableService
framework: wifiaware
role: symbol
role_heading: Structure
path: wifiaware/wasubscribableservice
---

# WASubscribableService

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

## Declaration

```swift
struct WASubscribableService
```

## Mentioned in

Adopting Wi-Fi Aware

## Overview

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](wifiaware/wasubscribableservice/allservices.md)

### Checking a service name and ID

- [WASubscribableService.ID](wifiaware/wasubscribableservice/id-swift.typealias.md)
- [id](wifiaware/wasubscribableservice/id-swift.property.md)
- [name](wifiaware/wasubscribableservice/name.md)

### Getting a String description

- [description](wifiaware/wasubscribableservice/description.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [WAService](wifiaware/waservice.md)

## See Also

### Services to discover

- [WAService](wifiaware/waservice.md)
- [WAPublishableService](wifiaware/wapublishableservice.md)
