Contents

handleCommand(_:)

Handles a given hotspot command, in response to a request from the framework.

Declaration

func handleCommand(_ command: NEHotspotHelperCommand) async -> NEHotspotHelperResponse

Return 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.

See Also

Sending commands to the provider