KeywordRecognitionEventArgs Class

Definition

Class for the events emitted by the KeywordRecognizer.

public class KeywordRecognitionEventArgs : Microsoft.CognitiveServices.Speech.RecognitionEventArgs
type KeywordRecognitionEventArgs = class
    inherit RecognitionEventArgs
Public Class KeywordRecognitionEventArgs
Inherits RecognitionEventArgs
Inheritance
KeywordRecognitionEventArgs

Remarks

Due to a limitation within keyword detection, the KeywordRecognitionEventArgs.KeywordRecognitionEventArgs.Offset property does not contain an accurate value.

Properties

Offset

Represents the message offset in ticks (100 nanoseconds).

(Inherited from RecognitionEventArgs)
Result

Keyword recognition event result.

SessionId

Represents the session identifier.

(Inherited from SessionEventArgs)

Methods

ToString()

Returns a string that represents the keyword recognition result event.

Applies to