feedback method

@detail api @author wangzhanqiang @brief 通话结束,将用户反馈的问题上报到 RTC。 @param types 预设问题列表,参看 ByteRTCProblemFeedbackOption{@link #ByteRTCProblemFeedbackOption} @param info 预设问题以外的其他问题的具体描述,房间信息。参看 ByteRTCProblemFeedbackInfo{@link #ByteRTCProblemFeedbackInfo} @return - 0: 成功。 - -3: 失败。 @note - 你可以在 RTC 控制台上查看用户通过此接口提交的反馈详情和整体趋势。 - 如果用户上报时在房间内,那么问题会定位到用户当前所在的一个或多个房间;如果用户上报时不在房间内,那么问题会定位到引擎此前退出的房间。

Implementation

FutureOr<int> feedback(ByteRTCProblemFeedbackOption types,
    ByteRTCProblemFeedbackInfo info) async {
  return await nativeCall('feedback:info:', [types.$value, info]);
}