MediaCapture.GetEncoderProperty(MediaStreamType, Guid) 方法

定义

获取编码属性的值。

public:
 virtual Platform::Object ^ GetEncoderProperty(MediaStreamType mediaStreamType, Platform::Guid propertyId) = GetEncoderProperty;
IInspectable GetEncoderProperty(MediaStreamType const& mediaStreamType, winrt::guid const& propertyId);
public object GetEncoderProperty(MediaStreamType mediaStreamType, Guid propertyId);
function getEncoderProperty(mediaStreamType, propertyId)
Public Function GetEncoderProperty (mediaStreamType As MediaStreamType, propertyId As Guid) As Object

参数

mediaStreamType
MediaStreamType

指定要查询编码属性的流。

propertyId
Guid

Platform::Guid

winrt::guid

要检索的编码属性。

返回

Object

Platform::Object

IInspectable

返回编码属性的值。

Windows 要求

应用功能
backgroundMediaRecording microphone webcam

适用于