<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEHotspotHelperHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@T@NEHotspotHelperHandler"
  },
  "title" : "NEHotspotHelperHandler"
}
-->

# NEHotspotHelperHandler

The type definition for the Hotspot Helper’s command handler block.

```
typealias NEHotspotHelperHandler = (NEHotspotHelperCommand) -> Void
```

## Discussion

The Hotspot Helper app provides a block of this type when it invokes the `registerWithOptions:queue:handler:` method.

The block is invoked every time there is a command to be processed.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)