maxAlternatives property

  1. @TagNumber(4)
int maxAlternatives

Maximum number of recognition hypotheses to be returned. Specifically, the maximum number of SpeechRecognitionAlternative messages within each SpeechRecognitionResult. The server may return fewer than max_alternatives. Valid values are 0-30. A value of 0 or 1 will return a maximum of one. If omitted, will return a maximum of one.

Implementation

@$pb.TagNumber(4)
$core.int get maxAlternatives => $_getIZ(3);
  1. @TagNumber(4)
void maxAlternatives=(int v)

Implementation

@$pb.TagNumber(4)
set maxAlternatives($core.int v) {
  $_setSignedInt32(3, v);
}