WINetworkSharingController.AuthorizationState
An enumeration that represents the authorization state for sharing Wi-Fi networks with a given accessory.
Declaration
enum AuthorizationStateOverview
Use AuthorizationState to determine the current permission level for Wi-Fi network sharing between the person’s device and a connected accessory. This enum helps you understand whether the person has granted, denied, or not yet decided on Wi-Fi sharing permissions.
Check the authorization state before attempting to share Wi-Fi credentials with an accessory. Handle each state appropriately in your app’s user interface to provide clear feedback about the current sharing permissions.