C# Класс HoloToolkit.Unity.KeywordManager

KeywordManager allows you to specify keywords and methods in the Unity Inspector, instead of registering them explicitly in code. This also includes a setting to either automatically start the keyword recognizer or allow your code to start it. IMPORTANT: Please make sure to add the microphone capability in your app, in Unity under Edit -> Project Settings -> Player -> Settings for Windows Store -> Publishing Settings -> Capabilities or in your Visual Studio Package.appxmanifest capabilities.
Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
OnDestroy ( ) : void
Start ( ) : void
StartKeywordRecognizer ( ) : void

Make sure the keyword recognizer is off, then start it. Otherwise, leave it alone because it's already in the desired state.

StopKeywordRecognizer ( ) : void

Make sure the keyword recognizer is on, then stop it. Otherwise, leave it alone because it's already in the desired state.

Update ( ) : void

Приватные методы

Метод Описание
KeywordRecognizer_OnPhraseRecognized ( PhraseRecognizedEventArgs args ) : void
ProcessKeyBindings ( ) : void

Описание методов

OnDestroy() публичный Метод

public OnDestroy ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

StartKeywordRecognizer() публичный Метод

Make sure the keyword recognizer is off, then start it. Otherwise, leave it alone because it's already in the desired state.
public StartKeywordRecognizer ( ) : void
Результат void

StopKeywordRecognizer() публичный Метод

Make sure the keyword recognizer is on, then stop it. Otherwise, leave it alone because it's already in the desired state.
public StopKeywordRecognizer ( ) : void
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void