handleCommand(_:)
Handles a given hotspot command, in response to a request from the framework.
Declaration
func handleCommand(_ command: NEHotspotHelperCommand) async -> NEHotspotHelperResponseReturn Value
An NEHotspotHelperResponse with the result of the call.
Discussion
In your implementation, handle the specified command and return an appropriate NEHotspotHelperResponse. The framework is responsible for delivering this response to the system; don’t invoke the deliver() method of NEHotspotHelperResponse manually.