SpeechRecognizerStateChangedEventArgs 类

定义

提供 SpeechRecognizer.StateChangedEvent 事件的数据。

public ref class SpeechRecognizerStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SpeechRecognizerStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SpeechRecognizerStateChangedEventArgs
Public NotInheritable Class SpeechRecognizerStateChangedEventArgs
继承
Object Platform::Object IInspectable SpeechRecognizerStateChangedEventArgs
属性

Windows 要求

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

注解

处理 SpeechRecognizer.StateChanged 事件以获取此类的实例。

属性

State

获取音频捕获状态。

适用于

另请参阅