<!--
{
  "availability" : [
    "iOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioAccessoryKit",
  "identifier" : "/documentation/AudioAccessoryKit/AudioAccessoryHeadTracking/Handler/invalidate()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioAccessoryKit"
    ],
    "preciseIdentifier" : "s:17AudioAccessoryKit0aB12HeadTrackingC7HandlerP10invalidateyyF"
  },
  "title" : "invalidate()"
}
-->

# invalidate()

Called when the head-tracking session has been invalidated.

```
func invalidate()
```

## Discussion

After this is called, no further state updates will be delivered on
this handler, and the session is no longer valid for forwarding
sensor data.

---

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)