interfaces
TypeScriptget interfaces(): Array<NWInterface>Swift declarationlet interfaces: [NWInterface]The interfaces on which the service is advertised
struct · iOS 13.0+ · SDK 27.1
struct ResultA NWBrowser.Result represents a snapshot of a service at some point in time on the network. A Browse Result includes information on how to connect to a service, what interfaces the service is available on, as well as any additional metadata provided to the browser by the service. (For Bonjour services, this is a TXT record). Whenever services become available, get modified, or go away, the browser will notify the user by providing a set of browse results tracking those changes.
get interfaces(): Array<NWInterface>Swift declarationlet interfaces: [NWInterface]The interfaces on which the service is advertised
get endpoint(): NWEndpointSwift declarationlet endpoint: NWEndpointThe endpoint to connect to access the service.
get metadata(): NWBrowser_Result_MetadataSwift declarationlet metadata: NWBrowser.Result.MetadataAdditional metadata provided to the browser by the service.
No declarations were skipped in this snapshot.