MediaCapture.RemoveEffectAsync(IMediaExtension) MediaCapture.RemoveEffectAsync(IMediaExtension) MediaCapture.RemoveEffectAsync(IMediaExtension) MediaCapture.RemoveEffectAsync(IMediaExtension) MediaCapture.RemoveEffectAsync(IMediaExtension) Method

Definition

Removes the specified effect from the capture pipeline.

public : IAsyncAction RemoveEffectAsync(IMediaExtension effect)
IAsyncAction RemoveEffectAsync(IMediaExtension effect) const;
public IAsyncAction RemoveEffectAsync(IMediaExtension effect)
Public Function RemoveEffectAsync(effect As IMediaExtension) As IAsyncAction
Windows.Media.Capture.MediaCapture.removeEffectAsync(effect).done( /* Your success and error handlers */ );

Parameters

effect
IMediaExtension IMediaExtension IMediaExtension

The effect to remove from the capture pipeline.

Returns

Returns an IAsyncAction object that is used to control the asynchronous operation.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
backgroundMediaRecording

Remarks

Pass the effect instance returned by AddVideoEffectAsync or AddAudioEffectAsync into this method to remove the effect from the pipeline.