Version: 2019.1

KeywordRecognizerConstructor

Switch to Manual
public KeywordRecognizer (string[] keywords);
public KeywordRecognizer (string[] keywords, Windows.Speech.ConfidenceLevel minimumConfidence);

Parameters

keywordsThe keywords that the recognizer will listen to.
minimumConfidenceThe minimum confidence level of speech recognition that the recognizer will accept.

Description

Create a KeywordRecognizer which listens to specified keywords with the specified minimum confidence. Phrases under the specified minimum level will be ignored.

If no minimum confidence level is specified, then the confidence level is assumed to be Medium.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961