connecting
TypeScriptstatic connecting(pairedDevices: WASubscriberBrowser_Devices, mySubscribingService: WASubscribableService): WASubscriberBrowser_ActionSwift declarationstatic func connecting(to pairedDevices: WASubscriberBrowser.Devices, from mySubscribingService: WASubscribableService) -> WASubscriberBrowser.ActionSubscribes to the provided service over Wi-Fi, providing browse results for connecting to the specified paired devices if available. When subscribing, the `NetworkBrowser` provides a ``WAEndpoint`` for each discovered paired device, and the app can then create a `NetworkConnection` object to connect to each. Data path parameters including the ``WAPerformanceMode`` are set when creating the connection, using ``WAParameters`` written into the <doc://com.apple.documentation/documentation/Network/NWParameters> for the `NetworkConnection`. - Parameters: - pairedDevices: The devices to connect to. The browser isn't activated if no devices are specified. - mySubscribingService: The service to discover. - Returns: A new `Action` configuring this operation.