OnError
Event that gets invoked when phrase recognition system encounters an error.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Event
- Namespace: UnityEngine.Windows.Speech
- Assembly: UnityEngine.CoreModule
public static event PhraseRecognitionSystem.ErrorDelegate OnError
Remarks
If any errors occurred due to issues the user can fix (e.g. the microphone being unavailable), you should tell the user to correct the issue. In this example, you should show a message asking the user to reconnect the microphone and then attempt to restart the phrase recognition system.