Contents

FoveatedStreamingExtension

A foveated streaming provider extension.

Declaration

@MainActor protocol FoveatedStreamingExtension : AnyObject, AppExtension

Overview

Foveated streaming providers are a system extension that allows developers to use your custom protocol with a FoveatedStreamingSession.

Foveated streaming providers require the com.apple.developer.foveated-streaming-provider entitlement.

@main
final class MyStreamingProvider: FoveatedStreamingExtension {
    func connect(context: Context) async throws { /* ... */ }
    func disconnect() async throws { /* ... */ }
    func openMessageChannel(_ channel: MessageChannel) throws { /* ... */ }
    var immersiveScene: some View { /* ... */ }
}

Topics

Associated Types

Instance Properties

Instance Methods

Type Aliases