<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiInfrastructure",
  "identifier" : "/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Wi-Fi Infrastructure"
    ],
    "preciseIdentifier" : "s:18WiFiInfrastructure24WINetworkSharingProviderC26AccessPointConnectionEventV"
  },
  "title" : "WINetworkSharingProvider.AccessPointConnectionEvent"
}
-->

# WINetworkSharingProvider.AccessPointConnectionEvent

An event that indicates an update to the available shared access points.

```
struct AccessPointConnectionEvent
```

## Discussion

An `AccessPointConnectionEvent` provides a snapshot of changes to one or more of the currently connected access points that might require action from your app extension. Each event contains the complete list of access points to which the host is currently connected; your app may share this list with your accessory.

Use the sequence number and update counter to track changes and avoid processing duplicate events. The timestamp provides context but it is recommended you don’t use it for precise change detection due to potential clock variations.

## Topics

### Instance Properties

[`let accessPointConnections: [WINetworkSharingProvider.AccessPointConnection]`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent/accessPointConnections)

A list of access points to which the host connects for networks someone authorized to share to the device.

[`let accessPointConnectionsUpdateCounter: UInt64`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent/accessPointConnectionsUpdateCounter)

A counter that increments whenever the access point data changes.

[`var description: String`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent/description)

A string description of the event for debugging purposes.

[`var id: WINetworkSharingProvider.AccessPointConnectionEvent.ID`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent/id-swift.property)

A stable identifier that uniquely identifies this event.

[`let timestamp: Date`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent/timestamp)

The date when this event occurred.

### Type Aliases

[`typealias ID`](/documentation/WiFiInfrastructure/WINetworkSharingProvider/AccessPointConnectionEvent/ID-swift.typealias)

The type of value that uniquely identifies this event.

## Relationships

### Conforms To

[`Encodable`](/documentation/Swift/Encodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Identifiable`](/documentation/Swift/Identifiable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Decodable`](/documentation/Swift/Decodable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)