accessoryBrowser(_:didUpdate:)
Indicates that the browser’s state has changed.
Declaration
func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didUpdate state: EAWiFiUnconfiguredAccessoryBrowserState)Parameters
- browser:
The instance of Eawifiunconfiguredaccessorybrowser that is generating the event.
- state:
The current state of the browser. See Eawifiunconfiguredaccessorybrowserstate for possible values.
Discussion
When the browser state changes, the delegate typically provides feedback to users. For example, the delegate might show whether the scan is currently active or inactive, or it might indicate that Wi-Fi is unavailable if a user starts a scan while the device is in airplane mode.