Udostępnij za pośrednictwem


SceneAnalysisEffectDefinition Class

Definition

Represents the definition of a scene analysis video effect.

public ref class SceneAnalysisEffectDefinition sealed : IVideoEffectDefinition
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SceneAnalysisEffectDefinition final : IVideoEffectDefinition
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class SceneAnalysisEffectDefinition final : IVideoEffectDefinition
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SceneAnalysisEffectDefinition : IVideoEffectDefinition
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SceneAnalysisEffectDefinition : IVideoEffectDefinition
function SceneAnalysisEffectDefinition()
Public NotInheritable Class SceneAnalysisEffectDefinition
Implements IVideoEffectDefinition
Inheritance
Object Platform::Object IInspectable SceneAnalysisEffectDefinition
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of the SceneAnalysisEffect class by passing a SceneAnalysisEffectDefinition object into MediaCapture.AddVideoEffectAsync.

For how-to guidance on using the SceneAnalysisEffect, see Scene anlysis for MediaCapture.

Constructors

SceneAnalysisEffectDefinition()

Initializes a new instance of the SceneAnalysisEffectDefinition class.

Properties

ActivatableClassId

Gets a string containing the activatable class ID of the scene analysis effect definition.

Properties

Gets the set of properties for configuring the SceneAnalysisEffectDefinition object.

Applies to

See also