Class TdApi.SpeechRecognitionResultError

Enclosing class:
TdApi

public static class TdApi.SpeechRecognitionResultError extends TdApi.SpeechRecognitionResult
The speech recognition failed.
  • Field Details

    • error

      public TdApi.Error error
      Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SpeechRecognitionResultError

      public SpeechRecognitionResultError()
      The speech recognition failed.
    • SpeechRecognitionResultError

      public SpeechRecognitionResultError(TdApi.Error error)
      The speech recognition failed.
      Parameters:
      error - Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR