CodecQuery
CodecQuery
CodecQuery
CodecQuery
Class
Definition
Provides the FindAllAsync method which allows you to enumerate all media codecs installed on the system.
public : sealed class CodecQuery : ICodecQuerypublic sealed class CodecQuery : ICodecQueryPublic NotInheritable Class CodecQuery Implements ICodecQuery// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Constructors
Methods
FindAllAsync(CodecKind, CodecCategory, String) FindAllAsync(CodecKind, CodecCategory, String) FindAllAsync(CodecKind, CodecCategory, String) FindAllAsync(CodecKind, CodecCategory, String)
Returns a read-only list of all media codecs installed on the system that meet the specified requirements.
public : IAsyncOperation<IVectorView<CodecInfo>> FindAllAsync(CodecKind kind, CodecCategory category, PlatForm::String subType)public IAsyncOperation<IReadOnlyList<CodecInfo>> FindAllAsync(CodecKind kind, CodecCategory category, String subType)Public Function FindAllAsync(kind As CodecKind, category As CodecCategory, subType As String) As IAsyncOperation( Of IReadOnlyListCodecInfo )// You can use this method in JavaScript.
A value that specifies whether the method should return codecs that operate on video or audio data.
A value that specifies whether the method should return codecs that are encoders or decoders.
- subType
- PlatForm::String String String String
A value specifying the media encoding subtype that all returned codecs must support. This value can be a string representation of one of the subtype GUIDs listed in Audio Subtype GUIDs or Video Subtyp GUIDs. The CodecSubtypes class provides properties for most supported media subtypes that return the string representation of the subtype GUID. You can also specify a FOURCC code for this parameter. For more information, see FOURCC Codes. To specify that all codecs of the specified kind and category should be returned, regardless of what media subtypes are supported, specify an empty string ("") or null for this parameter.