MediaCapture.RemoveEffectAsync(IMediaExtension) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified effect from the capture pipeline.
public:
virtual IAsyncAction ^ RemoveEffectAsync(IMediaExtension ^ effect) = RemoveEffectAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction RemoveEffectAsync(IMediaExtension const& effect);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction RemoveEffectAsync(IMediaExtension effect);
function removeEffectAsync(effect)
Public Function RemoveEffectAsync (effect As IMediaExtension) As IAsyncAction
Parameters
- effect
- IMediaExtension
The effect to remove from the capture pipeline.
Returns
Returns an IAsyncAction object that is used to control the asynchronous operation.
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
App capabilities |
backgroundMediaRecording
|
Remarks
Pass the effect instance returned by AddVideoEffectAsync or AddAudioEffectAsync into this method to remove the effect from the pipeline.