---
title: "FoveatedStreamingProviderStatus.disconnected(error:)"
framework: Foveated Streaming
role: symbol
role_heading: Case
platforms: [visionOS 27.0+]
path: "foveatedstreaming/foveatedstreamingproviderstatus/disconnected(error:)"
---

# FoveatedStreamingProviderStatus.disconnected(error:)

The session has been disconnected for the provided reason.

## Declaration

```swift
case disconnected(error: NSError?)
```

## Discussion

Discussion If error is nil, then the disconnect event was requested by calling disconnect(). If error is non-nil, then the disconnect event was due to an unexpected error.
