KeywordEvent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A container for a keyword and its associated Unity event. This container is utilized in SpeechKeywordEvents.
public ref class KeywordEvent
[System.Serializable]
public class KeywordEvent
[<System.Serializable>]
type KeywordEvent = class
Public Class KeywordEvent
- Inheritance
-
KeywordEvent
- Attributes
Constructors
KeywordEvent() |
Fields
OnKeywordRecognized |
Unity Event fired when a specific keyword is recognized. |
Properties
Keyword |
The Keyword for the Speech Handler to listen for if speech is enabled. If this keyword is recognized, the OnKeywordRecognized event will fire. This keyword must also be registered in the Speech Input configuration profile. |