Contents

WINetworkSharingProvider.NetworkEvent

An event that occurred, indicating an update to the available shared networks.

Declaration

struct NetworkEvent

Overview

A NetworkEvent provides a snapshot of the current shared network’s state, along with flags indicating system events that might require action from your app extension. Each event contains the complete list of networks currently shared with your accessory.

The event includes Boolean flags that indicate specific conditions:

  • New networks available for sharing that people can approve.

  • Requests from your container app to present sharing UI.

  • Updates to the networks list itself.

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

Topics

Identifying an event

Getting network data

Getting event signals

Getting the event time

Getting the event description

See Also

Getting network updates