VoiceInteractionSession.OnGetSupportedCommands(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.
Request to query for what extended commands the session supports.
[Android.Runtime.Register("onGetSupportedCommands", "([Ljava/lang/String;)[Z", "GetOnGetSupportedCommands_arrayLjava_lang_String_Handler", ApiSince=23)]
public virtual bool[]? OnGetSupportedCommands (string[]? commands);
[<Android.Runtime.Register("onGetSupportedCommands", "([Ljava/lang/String;)[Z", "GetOnGetSupportedCommands_arrayLjava_lang_String_Handler", ApiSince=23)>]
abstract member OnGetSupportedCommands : string[] -> bool[]
override this.OnGetSupportedCommands : string[] -> bool[]
Parameters
- commands
- String[]
An array of commands that are being queried.
Returns
Return an array of booleans indicating which of each entry in the command array is supported. A true entry in the array indicates the command is supported; false indicates it is not. The default implementation returns an array of all false entries.
- Attributes
Remarks
Request to query for what extended commands the session supports.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.