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

# openMessageChannel(_:)

Handles a message channel opened by the host app.

```
@MainActor func openMessageChannel(_ channel: Self.MessageChannel) throws
```

## Parameters

`channel`

The channel to service.

## Discussion

The framework vends the [`FoveatedStreamingProviderMessageChannel`](/documentation/FoveatedStreaming/FoveatedStreamingProviderMessageChannel) and calls this when the host opens a channel.

---

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)