maxAlternatives property

int get maxAlternatives

The maxAlternatives property of the SpeechRecognition interface sets the maximum number of SpeechRecognitionAlternatives provided per SpeechRecognitionResult.

The default value is 1.

Implementation

external int get maxAlternatives;
set maxAlternatives (int value)

Implementation

external set maxAlternatives(int value);