-api-id | -api-type |
---|---|
T:Windows.Media.Capture.Frames.MediaFrameFormat |
winrt class |
Describes the format of a media frame obtained from a MediaFrameSource and represented by a MediaFrameReference.
The MediaFrameSource class uses this object to specify the current format of the media frames it generates. Get the current format of a media frame source by accessing the CurrentFormat property. Set the current format of a media frame source by calling SetFormatAsync.
Get the format of a media frame represented by a MediaFrameReference by accessing the Format property.
Get the format of a video frame represented by a VideoMediaFrame by accessing the VideoFormat property and then using the returned object's MediaFrameFormat property.
Windows version | SDK version | Value added |
---|---|---|
1803 | 17134 | AudioEncodingProperties |