{ "EmbodiedListen": { "type": "leaf", "args": [ "Function", "Function", "Function" ], "meta": [ { "field": "getOptions", "description": "return a dictionary of options for the listening task", "defaultValue": "() => {\n\tlet options = {\n\t\theyJibo: false,\n\t\tdetectEnd: false,\n\t\tincremental: false\n\t}\n\treturn options;\n}" }, { "field": "getRule", "description": "pass the rule into the callback", "defaultValue": "(callback) => {\n\tcallback(\"TopRule = $* Hello World $*;\");\n}" }, { "field": "getListener", "description": "(listener), event emitter for cloud (asr, spkr), hey-jibo (asr, spkr), timeout (), incremental (asr, stop()), and end-of-speech() results.", "defaultValue": "(listener) => {\n\tlistener.on('cloud', (asrResult, speakerIds) => {\n\n\t});\n}" } ] } }