---
title: WINetworkSharingProvider.AccessoryScanResponse
framework: wifiinfrastructure
role: symbol
role_heading: Structure
path: wifiinfrastructure/winetworksharingprovider/accessoryscanresponse
---

# WINetworkSharingProvider.AccessoryScanResponse

A scan response from the accessory containing Wi-Fi scan results, if any.

## Declaration

```swift
struct AccessoryScanResponse
```

## Overview

Overview An AccessoryScanResponse contains the Wi-Fi networks your accessory discovered during scanning. The system uses these results to enhance the network selection interface, showing signal strength and compatibility information to help people choose the best networks to share. Create responses that correspond to specific scan requests and include all relevant networks your accessory found. Include signal strength information to help people select networks with good connectivity from your accessory’s perspective.

## Topics

### Identifying a scan response

- [WINetworkSharingProvider.AccessoryScanResponse.ID](wifiinfrastructure/winetworksharingprovider/accessoryscanresponse/id-swift.typealias.md)
- [id](wifiinfrastructure/winetworksharingprovider/accessoryscanresponse/id-swift.property.md)

### Getting the originating scan request

- [scanRequest](wifiinfrastructure/winetworksharingprovider/accessoryscanresponse/scanrequest.md)

### Getting the scan results from the Accessory

- [results](wifiinfrastructure/winetworksharingprovider/accessoryscanresponse/results.md)

### Initializers

- [init(scanRequest:results:)](wifiinfrastructure/winetworksharingprovider/accessoryscanresponse/init(scanrequest:results:).md)

## Relationships

### Conforms To

- [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)

## See Also

### Displaying network selection

- [presentAskToShareUI(scanProvider:)](wifiinfrastructure/winetworksharingprovider/presentasktoshareui(scanprovider:).md)
- [WINetworkSharingProvider.AccessoryScanRequest](wifiinfrastructure/winetworksharingprovider/accessoryscanrequest.md)
- [WINetworkSharingProvider.AccessoryScanResult](wifiinfrastructure/winetworksharingprovider/accessoryscanresult.md)
