MediaExtensionManager.RegisterByteStreamHandler MediaExtensionManager.RegisterByteStreamHandler MediaExtensionManager.RegisterByteStreamHandler MediaExtensionManager.RegisterByteStreamHandler MediaExtensionManager.RegisterByteStreamHandler Method

Definition

Overloads

RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String)

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

RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet)

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

RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String) RegisterByteStreamHandler(String, String, String)

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

public : void RegisterByteStreamHandler(Platform::String activatableClassId, Platform::String fileExtension, Platform::String mimeType)
void RegisterByteStreamHandler(winrt::hstring activatableClassId, winrt::hstring fileExtension, winrt::hstring mimeType) const;
public void RegisterByteStreamHandler(String activatableClassId, String fileExtension, String mimeType)
Public Sub RegisterByteStreamHandler(activatableClassId As String, fileExtension As String, mimeType As String)
mediaExtensionManager.registerByteStreamHandler(activatableClassId, fileExtension, mimeType);

Parameters

activatableClassId
String String String

The class identifier of the activatable runtime class of the byte-stream handler. The runtime class must implement the IMediaExtension interface.

fileExtension
String String String

The file name extension that is registered for this byte-stream handler.

mimeType
String String String

The MIME type that is registered for this byte-stream handler.

See also

RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet) RegisterByteStreamHandler(String, String, String, IPropertySet)

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

public : void RegisterByteStreamHandler(Platform::String activatableClassId, Platform::String fileExtension, Platform::String mimeType, IPropertySet configuration)
void RegisterByteStreamHandler(winrt::hstring activatableClassId, winrt::hstring fileExtension, winrt::hstring mimeType, IPropertySet configuration) const;
public void RegisterByteStreamHandler(String activatableClassId, String fileExtension, String mimeType, IPropertySet configuration)
Public Sub RegisterByteStreamHandler(activatableClassId As String, fileExtension As String, mimeType As String, configuration As IPropertySet)
mediaExtensionManager.registerByteStreamHandler(activatableClassId, fileExtension, mimeType, configuration);

Parameters

activatableClassId
String String String

The class identifier of the activatable runtime class of the byte-stream handler. The runtime class must implement the IMediaExtension interface.

fileExtension
String String String

The file name extension that is registered for this byte-stream handler.

mimeType
String String String

The MIME type that is registered for this byte-stream handler.

configuration
IPropertySet IPropertySet IPropertySet

An optional parameter that contains configuration properties for the byte-stream handler.

See also