AudioEffectDefinition 类

定义

表示音频效果定义。

public ref class AudioEffectDefinition sealed : IAudioEffectDefinition
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Effects.IAudioEffectDefinitionFactory, 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 AudioEffectDefinition final : IAudioEffectDefinition
/// [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(Windows.Media.Effects.IAudioEffectDefinitionFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class AudioEffectDefinition final : IAudioEffectDefinition
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Effects.IAudioEffectDefinitionFactory), 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 AudioEffectDefinition : IAudioEffectDefinition
[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(typeof(Windows.Media.Effects.IAudioEffectDefinitionFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class AudioEffectDefinition : IAudioEffectDefinition
function AudioEffectDefinition(activatableClassId, props)
Public NotInheritable Class AudioEffectDefinition
Implements IAudioEffectDefinition
继承
Object Platform::Object IInspectable AudioEffectDefinition
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

构造函数

AudioEffectDefinition(String)

使用指定的可激活类 ID 创建新的 AudioEffectDefinition 对象。

AudioEffectDefinition(String, IPropertySet)

使用指定的可激活类 ID 创建一个新的 AudioEffectDefinition 对象,并使用指定的设置配置该对象。

属性

ActivatableClassId

音频效果定义的可激活类 ID。

Properties

用于配置 AudioEffectDefinition 对象的属性集。

适用于

另请参阅