/// <summary> /// If an error occurs, the node is being messaged about it. /// /// @param[in] cause the cause for the error /// </summary> private void onDictationComplete(DictationCompletionCause cause) { pling.Play(0); if (cause != DictationCompletionCause.Complete) { R.error(); } }