File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Assets/MixedRealityToolkit/_Core/Definitions/InputSystem Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 11// Copyright (c) Microsoft Corporation. All rights reserved.
22// Licensed under the MIT License. See LICENSE in the project root for license information.
33
4- using System . Globalization ;
5- using System . Collections . Generic ;
64using Microsoft . MixedReality . Toolkit . Core . Definitions . Devices ;
75using Microsoft . MixedReality . Toolkit . Core . Definitions . Utilities ;
86using Microsoft . MixedReality . Toolkit . Core . Interfaces . Devices ;
@@ -76,24 +74,6 @@ public MixedRealityPointerProfile PointerProfile
7674 /// </summary>
7775 public IMixedRealitySpeechSystem SpeechSystem => speechSystem ?? ( speechSystem = MixedRealityToolkit . Instance . GetService < IMixedRealitySpeechSystem > ( ) ) ;
7876
79-
80- /// <summary>
81- /// The list of cultures where speech recognition is supported. Cultures added as needed
82- /// </summary>
83- private List < CultureInfo > supportedVoiceCultures = new List < CultureInfo >
84- {
85- new CultureInfo ( "en-US" )
86- } ;
87-
88- /// <summary>
89- /// REturns whether speech is supported for the current language/culture or not
90- /// </summary>
91- public bool IsSpeechSupported
92- {
93- // Use UI Culture instead of just culture since that will match the current display lang/culture
94- get { return supportedVoiceCultures . Contains ( CultureInfo . CurrentUICulture ) ; }
95- }
96-
9777 /// <summary>
9878 /// Is the speech Commands Enabled?
9979 /// </summary>
You can’t perform that action at this time.
0 commit comments