<!--
{
  "availability" : [
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoveatedStreaming",
  "identifier" : "/documentation/FoveatedStreaming/FoveatedStreamingProviderContext/reportConnectionInterrupted(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foveated Streaming"
    ],
    "preciseIdentifier" : "s:17FoveatedStreaming0aB15ProviderContextC27reportConnectionInterruptedyys5Error_pF"
  },
  "title" : "reportConnectionInterrupted(_:)"
}
-->

# reportConnectionInterrupted(_:)

Reports that a previously-established connection was unexpectedly lost.

```
@MainActor final func reportConnectionInterrupted(_ error: any Error)
```

## Discussion

This may only be called while the provider is in the [`FoveatedStreamingProviderStatus.connected`](/documentation/FoveatedStreaming/FoveatedStreamingProviderStatus/connected)
state. Calling this transitions the session to `FoveatedStreamingProviderStatus/error(_:)`.

After calling this method, the provider should consider the session terminated.
[`disconnect()`](/documentation/FoveatedStreaming/FoveatedStreamingExtension/disconnect()) will **not** be called.

---

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)