Class

NEHotspotHelperCommand

A command for the hotspot helper to handle.

Declaration

class NEHotspotHelperCommand : NSObject

Overview

NEHotspostHelperCommand objects are passed to the the Hotspot Helper app’s command handler block. The Hotspot Helper app processes the command, instantiates an NEHotspotHelperResponse object, sets the annotated network or networkList (Evaluate or FilterScanList commands only), and then delivers the response to the system.

Topics

Command Information

var network: NEHotspotNetwork?

The network associated with the command.

var networkList: [NEHotspotNetwork]?

The list of networks associated with the command.

Networking on the Hotspot Network

func bind(to: NEHotspotHelperCommand)

Binds a URL request to the network interface associated with the hotspot helper command instance.

func createTCPConnection(NWEndpoint) -> NWTCPConnection

Create a new TCP connection over the network associated with the command.

func createUDPSession(NWEndpoint) -> NWUDPSession

Create a new UDP session over the network associated with the command.

Relationships

Inherits From

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software