private void onSpeechBegin() {
    Log.v(TAG, "onSpeechBegin");

    speechActive = true;

    if (eventsListener != null) {
      eventsListener.onSpeechBegin();
    }
  }
  private void onSpeechCancel() {
    Log.v(TAG, "onSpeechCancel");

    speechActive = false;
    process = false;

    if (eventsListener != null) {
      eventsListener.onSpeechCancel();
    }
  }
  private void onSpeechEnd() {
    Log.v(TAG, "onSpeechEnd");

    speechActive = false;
    process = false;

    if (enabled) {
      if (eventsListener != null) {
        eventsListener.onSpeechEnd();
      }
    }
  }