InteractableInspector.TryGetSpeechKeywords(String[]) Method

Definition

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

Boolean
Attributes

Applies to