IMediaEncodingProperties IMediaEncodingProperties IMediaEncodingProperties IMediaEncodingProperties Interface

Describes the format of a media stream or media container.

Syntax

Declaration

public interface IMediaEncodingPropertiespublic interface IMediaEncodingPropertiesPublic Interface IMediaEncodingProperties

Properties summary

Gets additional format properties.

Gets or sets the subtype of the format.

Gets the format type.

Properties

  • Properties
    Properties
    Properties
    Properties

    Gets additional format properties.

    public MediaPropertySet Properties { get; }public MediaPropertySet Properties { get; }Public ReadOnly Property Properties As MediaPropertySet

    Property Value

  • Subtype
    Subtype
    Subtype
    Subtype

    Gets or sets the subtype of the format.

    public string Subtype { get; set; }public string Subtype { get; set; }Public ReadWrite Property Subtype As string

    Property Value

    • string
      string
      string
      string

      The subtype.

    Remarks

    The subtype gives a more specific description of the format than the Type property. Possible values depend on the class that implements the method. For more information, see the following topics:

  • Type
    Type
    Type
    Type

    Gets the format type.

    public string Type { get; }public string Type { get; }Public ReadOnly Property Type As string

    Property Value

    • string
      string
      string
      string

      The format type. The value can be the string representation of a GUID in canonical form, or one of the predefined values listed in the following table.

      ValueDescription
      "Audio"Audio stream. To get details of the audio format, use @Windows.Media.MediaProperties.AudioEncodingProperties.</td></tr>
      "Container"Media container.
      "Image"Still image data. To get details of the image format, use @Windows.Media.MediaProperties.ImageEncodingProperties.</td></tr>
      "Video"Video stream. To get details of the video format, use @Windows.Media.MediaProperties.VideoEncodingProperties.</td></tr>

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.GuidAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Media.MediaProperties.dll