AddVideoEffect method
TOC
Collapse the table of content
Expand the table of content

MediaElement.AddVideoEffect method

Applies a video effect to playback. Takes effect for the next source that is set on this MediaElement.

Syntax


public void AddVideoEffect(
  string effectID, 
  bool effectOptional, 
  IPropertySet effectConfiguration
)

Parameters

effectID

Type: System.String [.NET] | Platform::String [C++]

The identifier for the desired effect.

effectOptional

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true 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

Type: IPropertySet

A property set that transmits property values to specific effects as selected by effectID.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

MediaElement

 

 

Show:
© 2016 Microsoft