コード例 #1
0
ファイル: SnapsEngine.cs プロジェクト: mzamp27/source
 /// <summary>
 /// Allows the user to choose from a number of options by speaking
 /// their selection.
 /// Speech version of SelectFromButtonArray
 /// </summary>
 /// <param name="prompt">prompt for the request</param>
 /// <param name="phrases">items to choose from</param>
 /// <returns>the selected phrase or an empty string if the phrase was not recognised</returns>
 public static string SelectSpokenPhrase(string prompt, string[] phrases)
 {
     return(manager.SelectSpokenPhrase(prompt: prompt, phrases: phrases));
 }