One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEHotspotHelperCommand

class · iOS 9.0+ · SDK 27.1

class NEHotspotHelperCommand

Members (6)

method · iOS 9.0+

createResponse

TypeScript
createResponse(result: NEHotspotHelperResult): NEHotspotHelperResponse
Swift declaration
func createResponse(_ result: NEHotspotHelperResult) -> NEHotspotHelperResponse
init

init

TypeScript
static init(): NEHotspotHelperCommand
Swift declaration
init()
get · iOS 9.0+

commandType

TypeScript
get commandType(): NEHotspotHelperCommandType
Swift declaration
var commandType: NEHotspotHelperCommandType { get }
get · iOS 9.0+

network

TypeScript
get network(): (NEHotspotNetwork) | null
Swift declaration
var network: NEHotspotNetwork? { get }
get · iOS 9.0+

networkList

TypeScript
get networkList(): (Array<NEHotspotNetwork>) | null
Swift declaration
var networkList: [NEHotspotNetwork]? { get }
get · iOS 18.0+

interface

TypeScript
get interface(): _Network_NWInterface
Swift declaration
var interface: NWInterface { get }

Network interface associated with the command. To create a connection over the hotspot, set the interface on the corresponding parameters using `NWParameters.requiredInterface`.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NEHotspotHelperCommand.createTCPConnection(_:)

The iOS SDK compiler rejected this binding: 'NWEndpoint' is ambiguous for type lookup in this context

NEHotspotHelperCommand.createUDPSession(_:)

The iOS SDK compiler rejected this binding: 'NWEndpoint' is ambiguous for type lookup in this context

All NetworkExtension types →