Instance Method

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.

See Also

Response Properties

func setNetworkList([NEHotspotNetwork])

Set the list of handled networks.