Contents

MediaDeviceExtension

A protocol that defines the requirements of a media device extension that discovers, activates, and plays media on a remote device.

Declaration

@MainActor protocol MediaDeviceExtension : AppExtension

Mentioned in

Overview

The extension requires the com.apple.developer.media-device-extension entitlement. As part of this entitlement an ID for your protocol needs to be specified. This same identifier must also be declared in the extension’s Info.plist as the UTTypeIdentifier. If the identifier in the entitlement and Info.plist do not match, the extension will not be run. This ID value can be used by other apps that use the AVSystemRouting framework and which intend to make use of an extension of this type.

The display name of the extension is sourced from the value of the UTTypeDescription key in the extension’s Info.plist. It may be presented in user interfaces.

Topics

Instance Properties

Instance Methods

See Also

Essentials