Contents

WAPublishableService

A service, hosted by your app, that remote devices can connect to.

Declaration

struct WAPublishableService

Mentioned in

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 service name of a service, and the value is a dictionary of configuration properties for that service.

  • If the configuration dictionary contains the Publishable key, the system creates a WAPublishableService is created for that service and makes it available in allServices.

Topics

Selecting from your app’s publishable services

Checking a service name and ID

Getting a string description

See Also

Services to discover