getConfiguredSSIDs(completionHandler:)
Submits a completion handler the configuration manager calls to send your app the names of the SSIDs or Wi-Fi hotspot domains in the configuration.
Declaration
func getConfiguredSSIDs(completionHandler: @escaping @Sendable ([String]) -> Void)func configuredSSIDs() async -> [String]Parameters
- completionHandler:
A completion handler that accepts an array of strings.
Discussion
The hotspot configuration manager sends your app a list of network SSIDs or Hotspot 2.0 domain names from the configuration by calling the completion handler you pass to the method.
For Hotspot 2.0 Enterprise (802.1X) networks, the list contains HS 2.0 domain names, and for other Wi-Fi networks, it contains their SSID.