Contents

reportConnectionInterrupted(_:)

Reports that a previously-established connection was unexpectedly lost.

Declaration

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

Discussion

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

After calling this method, the provider should consider the session terminated. disconnect() will not be called.