SpeechRecognitionResult.GetAlternates method
Gets a collection of speech recognition results, ordered from most likely to least likely.
Syntax
public IReadOnlyList<SpeechRecognitionResult> GetAlternates(
uint maxAlternates
)
Public Function GetAlternates(
maxAlternates As UInteger
) As IReadOnlyList(Of SpeechRecognitionResult)
public:
IVectorView<SpeechRecognitionResult>^ GetAlternates(
unsigned int maxAlternates
)
Parameters
maxAlternates
Type: System.UInt32 [.NET] | uint32 [C++]The maximum number of speech recognition results to return in the collection.
Return value
Type: IVectorView<SpeechRecognitionResult> [C++] | System.Collections.Generic.IReadOnlyList<SpeechRecognitionResult> [.NET]
A collection of speech recognition results, ordered from most likely to least likely. The first item in the collection is the same result that is represented by the parent object.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8 |
Namespace |
Windows.Phone.Speech.Recognition Windows::Phone::Speech::Recognition [C++] |
Metadata |
Windows.WinMD |
Capabilities |
ID_CAP_SPEECH_RECOGNITION [Windows Phone] ID_CAP_MICROPHONE [Windows Phone] ID_CAP_NETWORKING [Windows Phone] |
See also
SpeechRecognitionResult