MediaExtensionManager Class

Definition

Registers a media parser or codec.

public ref class MediaExtensionManager sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaExtensionManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MediaExtensionManager final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaExtensionManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MediaExtensionManager
function MediaExtensionManager()
Public NotInheritable Class MediaExtensionManager
Inheritance
Object Platform::Object IInspectable MediaExtensionManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Media extensions have the following limitations.

  • A plugin can override inbox media formats.
  • The registration is local to the application and does not affect other applications.
  • The registration persists for the lifetime of the MediaExtensionManager instance.

Version history

Windows version SDK version Value added
1703 15063 RegisterMediaExtensionForAppService

Constructors

MediaExtensionManager()

Creates a new MediaExtensionManager object that is used to register a media parser or codec.

Methods

RegisterAudioDecoder(String, Guid, Guid)

Registers an audio decoder for the specified input and output media types.

RegisterAudioDecoder(String, Guid, Guid, IPropertySet)

Registers an audio decoder for the specified input and output media types with an optional configuration parameter.

RegisterAudioEncoder(String, Guid, Guid)

Registers an audio encoder for the specified input and output media types.

RegisterAudioEncoder(String, Guid, Guid, IPropertySet)

Registers an audio encoder for the specified input and output media types with an optional configuration parameter.

RegisterByteStreamHandler(String, String, String)

Registers a byte-stream handler by file name extension and MIME type.

RegisterByteStreamHandler(String, String, String, IPropertySet)

Registers a byte-stream handler by file name extension and MIME type, with an optional configuration parameter.

RegisterMediaExtensionForAppService(IMediaExtension, AppServiceConnection)

Registers a media extension that provides a background task that decodes media.

RegisterSchemeHandler(String, String)

Registers a scheme handler for the specified URL scheme.

RegisterSchemeHandler(String, String, IPropertySet)

Registers a scheme handler for the specified URL scheme with an optional configuration parameter.

RegisterVideoDecoder(String, Guid, Guid)

Registers an video decoder for the specified input and output media types.

RegisterVideoDecoder(String, Guid, Guid, IPropertySet)

Registers a video decoder for the specified input and output media types with an optional configuration parameter.

RegisterVideoEncoder(String, Guid, Guid)

Registers a video encoder for the specified input and output media types.

RegisterVideoEncoder(String, Guid, Guid, IPropertySet)

Registers a video encoder for the specified input and output media types with an optional configuration parameter.

Applies to

See also