V3 Voice Reply Text
Function Name: getSportsTypeV3
Flutter Example:
/// V3 voice reply text event number
setVoiceReplyTxtV3(
evtBase: _VBusEvtBase.base_app_set,
evtType: _VBusEvtType.func_v3_set_voice_reply_txt),
/// V3 voice reply text
libManager.send(evt: CmdEvtType.setVoiceReplyTxtV3, json: jsonEncode(json));
JSON Fields Sent by the App:
Field Name | Data Type | Field Description |
---|---|---|
version | int | Protocol version number, 2 |
flag_is_continue | int | Flag for continuing recording 0: Stop recording, 1: Continue recording |
title | char [] | Title data, maximum 31 bytes |
text_content | char [] | Content data, maximum 511 bytes |
Example:
{
"version":0,
"flag_is_continue":1,
"title":"title",
"text_content":"content"
}
JSON Fields Received by the App:
Field Name | Data Type | Field Description |
---|---|---|
is_success | int | 1: Success, 0: Failure |
Example:
{
"is_success":1
}