Dela via


MediaCapture.GetEncoderProperty(MediaStreamType, Guid) Method

Definition

Gets the value of an encoding property.

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

Parameters

mediaStreamType
MediaStreamType

Specifies the stream to query for the encoding property.

propertyId
Guid

Platform::Guid

winrt::guid

The encoding property to retrieve.

Returns

Object

Platform::Object

IInspectable

Returns the value of the encoding property.

Windows requirements

App capabilities
backgroundMediaRecording microphone webcam

Applies to