MediaCapture.AddEffectAsync(MediaStreamType, String, IPropertySet) 메서드

정의

오디오 또는 비디오 효과를 추가합니다.

public:
 virtual IAsyncAction ^ AddEffectAsync(MediaStreamType mediaStreamType, Platform::String ^ effectActivationID, IPropertySet ^ effectSettings) = AddEffectAsync;
/// [Windows.Foundation.Metadata.Deprecated("AddEffectAsync might not be available in future versions of Windows. Starting with Windows Threshold, use AddAudioEffectAsync and AddVideoEffectAsync instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
IAsyncAction AddEffectAsync(MediaStreamType const& mediaStreamType, winrt::hstring const& effectActivationID, IPropertySet const& effectSettings);
/// [Windows.Foundation.Metadata.Deprecated("AddEffectAsync might not be available in future versions of Windows. Starting with Windows Threshold, use AddAudioEffectAsync and AddVideoEffectAsync instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
IAsyncAction AddEffectAsync(MediaStreamType const& mediaStreamType, winrt::hstring const& effectActivationID, IPropertySet const& effectSettings);
[Windows.Foundation.Metadata.Deprecated("AddEffectAsync might not be available in future versions of Windows. Starting with Windows Threshold, use AddAudioEffectAsync and AddVideoEffectAsync instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public IAsyncAction AddEffectAsync(MediaStreamType mediaStreamType, string effectActivationID, IPropertySet effectSettings);
[Windows.Foundation.Metadata.Deprecated("AddEffectAsync might not be available in future versions of Windows. Starting with Windows Threshold, use AddAudioEffectAsync and AddVideoEffectAsync instead", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public IAsyncAction AddEffectAsync(MediaStreamType mediaStreamType, string effectActivationID, IPropertySet effectSettings);
function addEffectAsync(mediaStreamType, effectActivationID, effectSettings)
Public Function AddEffectAsync (mediaStreamType As MediaStreamType, effectActivationID As String, effectSettings As IPropertySet) As IAsyncAction

매개 변수

mediaStreamType
MediaStreamType

효과를 적용할 스트림을 지정합니다.

effectActivationID
String

Platform::String

winrt::hstring

효과를 구현하는 활성화 가능한 런타임 클래스의 클래스 식별자입니다. 런타임 클래스는 IMediaExtension 인터페이스를 구현해야 합니다.

effectSettings
IPropertySet

효과에 대한 구성 매개 변수입니다.

반환

비동기 작업을 제어하는 데 사용되는 IAsyncAction 개체를 반환합니다.

특성

Windows 요구 사항

앱 기능
backgroundMediaRecording microphone webcam

설명

Windows 10 현재 이 메서드는 더 이상 사용되지 않습니다. 대신 AddAudioEffectAsync 또는 AddVideoEffectAsync 를 사용합니다. 카메라 캡처 및 미리 보기 스트림에 효과를 추가하는 방법에 대한 지침은 비디오 캡처 효과를 참조하세요.

적용 대상