InteractableInspector.TryGetSpeechKeywords(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use SpeechKeywordUtility.GetDistinctRegisteredKeywords() instead.
Look for speech commands in the MRTK Speech Command profile Adds a blank value at index zero so the developer can turn the feature off.
public:
static bool TryGetSpeechKeywords([Runtime::InteropServices::Out] cli::array <System::String ^> ^ % keywords);
public static bool TryGetSpeechKeywords (out string[] keywords);
[System.Obsolete("Use SpeechKeywordUtility.GetDistinctRegisteredKeywords() instead.")]
public static bool TryGetSpeechKeywords (out string[] keywords);
static member TryGetSpeechKeywords : String[] -> bool
[<System.Obsolete("Use SpeechKeywordUtility.GetDistinctRegisteredKeywords() instead.")>]
static member TryGetSpeechKeywords : String[] -> bool
Public Shared Function TryGetSpeechKeywords (ByRef keywords As String()) As Boolean
Parameters
- keywords
- String[]
Returns
- Attributes