arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

RequestCommand

AnythingWorld.Voice.CommandRequester.MakeCommand

hashtag
Declaration

 public static void RequestCommand(string input, Action<string> ReturnedCommandAction = null)

hashtag
Parameters

hashtag
Description

Requests a command from a plain text input string and handles resulting command through CommandHandler utility.

input

Plain text command to be parsed by API.

ReturnedCommandAction

Action that will be invoked on successfully parsed and returned command, must take a string input.