setNetwork(_:)
Set the network that conveys the confidence level.
Declaration
func setNetwork(_ network: NEHotspotNetwork)Parameters
- network:
The annotated Nehotspotnetwork object. This must be the same object that was passed in the corresponding Nehotspothelpercommand object.
Discussion
In response to the NEHotspotHelperCommandType.evaluate command, the Hotspot Helper app sets the confidence level on the NEHotspotNetwork object provided with the command and calls this method to convey the confidence level to the system.