C# Class UnityEngine.Windows.Speech.PhraseRecognizer

A common base class for both keyword recognizer and grammar recognizer.

Inheritance: IDisposable
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Protected Properties

Свойство Type Description
m_Recognizer System.IntPtr

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the resources used by phrase recognizer.

Start ( ) : void

Makes the phrase recognizer start listening to phrases.

Stop ( ) : void

Stops the phrase recognizer from listening to phrases.

Méthodes protégées

Méthode Description
CreateFromGrammarFile ( string grammarFilePath, ConfidenceLevel minimumConfidence ) : IntPtr
CreateFromKeywords ( string keywords, ConfidenceLevel minimumConfidence ) : IntPtr

Private Methods

Méthode Description
Destroy ( IntPtr recognizer ) : void
DestroyThreaded ( IntPtr recognizer ) : void
INTERNAL_CALL_CreateFromGrammarFile ( PhraseRecognizer self, string grammarFilePath, ConfidenceLevel minimumConfidence, IntPtr &value ) : void
INTERNAL_CALL_CreateFromKeywords ( PhraseRecognizer self, string keywords, ConfidenceLevel minimumConfidence, IntPtr &value ) : void
InvokePhraseRecognizedEvent ( string text, ConfidenceLevel confidence, SemanticMeaning semanticMeanings, long phraseStartFileTime, long phraseDurationTicks ) : void
IsRunning_Internal ( IntPtr recognizer ) : bool
MarshalSemanticMeaning ( IntPtr keys, IntPtr values, IntPtr valueSizes, int valueCount ) : UnityEngine.Windows.Speech.SemanticMeaning[]
PhraseRecognizer ( ) : System
Start_Internal ( IntPtr recognizer ) : void
Stop_Internal ( IntPtr recognizer ) : void

Method Details

CreateFromGrammarFile() protected méthode

protected CreateFromGrammarFile ( string grammarFilePath, ConfidenceLevel minimumConfidence ) : IntPtr
grammarFilePath string
minimumConfidence ConfidenceLevel
Résultat System.IntPtr

CreateFromKeywords() protected méthode

protected CreateFromKeywords ( string keywords, ConfidenceLevel minimumConfidence ) : IntPtr
keywords string
minimumConfidence ConfidenceLevel
Résultat System.IntPtr

Dispose() public méthode

Disposes the resources used by phrase recognizer.

public Dispose ( ) : void
Résultat void

Start() public méthode

Makes the phrase recognizer start listening to phrases.

public Start ( ) : void
Résultat void

Stop() public méthode

Stops the phrase recognizer from listening to phrases.

public Stop ( ) : void
Résultat void

Property Details

m_Recognizer protected_oe property

protected IntPtr,System m_Recognizer
Résultat System.IntPtr