MediaPlayer.AddVideoEffect(String, Boolean, IPropertySet) MediaPlayer.AddVideoEffect(String, Boolean, IPropertySet) MediaPlayer.AddVideoEffect(String, Boolean, IPropertySet) MediaPlayer.AddVideoEffect(String, Boolean, IPropertySet) MediaPlayer.AddVideoEffect(String, Boolean, IPropertySet) Method

Definition

Applies a video effect to media playback.

public : void AddVideoEffect(Platform::String activatableClassId, bool effectOptional, IPropertySet effectConfiguration)
void AddVideoEffect(winrt::hstring activatableClassId, bool effectOptional, IPropertySet effectConfiguration) const;
public void AddVideoEffect(String activatableClassId, Boolean effectOptional, IPropertySet effectConfiguration)
Public Sub AddVideoEffect(activatableClassId As String, effectOptional As Boolean, effectConfiguration As IPropertySet)
mediaPlayer.addVideoEffect(activatableClassId, effectOptional, effectConfiguration);

Parameters

activatableClassId
String String String

The identifier of the effect.

effectOptional
Boolean Boolean Boolean

Tue if the effect shouldn't block playback when the effect can't be used at run time. False if the effect should block playback when the effect can't be used at run time.

effectConfiguration
IPropertySet IPropertySet IPropertySet

A property set that transmits property values to the effect specified by effectID.

Additional features and requirements

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