public interface OnQAMsgListener
限定符和类型 | 方法和说明 |
---|---|
void |
onQAMessage(org.json.JSONArray qaJsonArray)
回调qa的JSONArray信息
|
void onQAMessage(org.json.JSONArray qaJsonArray)
qaJsonArray,单条信息包含有question和answer,如下
- {"id":99,"content":"内容","showTime":2,"explainInfo":"解释答案","jump":false,"backSecond":-1,
"answers":[{"id":1045,"content":"A、答案A","right":false},{"id":1046,"content":"B、答案B","right":true},{"id":1047,"content":"C、答案C","right":false},{"id":1048,"content":"D、答案D","right":false}]},