RequestAndReturnCommand

AnythingWorld.Voice.CommandRequester.RequestAndReturnCommand

Declaration

private static IEnumerator RequestAndReturnCommand(string input, Action<string> ReturnAction)

Parameters

input

Plain text command to be parsed by API.

OnSuccess

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

Description

Requests a command from a plain text input string and returns the resulting command as a JSON-formatted string.

Last updated