Megosztás a következőn keresztül:


MediaPlayer.AddVideoEffect(String, Boolean, IPropertySet) Method

Definition

Applies a video effect to media playback.

public:
 virtual void AddVideoEffect(Platform::String ^ activatableClassId, bool effectOptional, IPropertySet ^ effectConfiguration) = AddVideoEffect;
void AddVideoEffect(winrt::hstring const& activatableClassId, bool const& effectOptional, IPropertySet const& effectConfiguration);
public void AddVideoEffect(string activatableClassId, bool effectOptional, IPropertySet effectConfiguration);
function addVideoEffect(activatableClassId, effectOptional, effectConfiguration)
Public Sub AddVideoEffect (activatableClassId As String, effectOptional As Boolean, effectConfiguration As IPropertySet)

Parameters

activatableClassId
String

Platform::String

winrt::hstring

The identifier of the effect.

effectOptional
Boolean

bool

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

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to