feedback method
@detail api
@author wangzhanqiang
@brief The call ends and the user feedback problem is reported to RTC
@param types The list of preset problems. See ByteRTCProblemFeedbackOption{@link #ByteRTCProblemFeedbackOption}
@param info Specific description of other problems other than the preset problem, and room's information. See ByteRTCProblemFeedbackInfo{@link #ByteRTCProblemFeedbackInfo}
@return
- 0: Success.
- -3: Failure.
@note If the user is in the room when reporting, the report leads to the room / rooms where the user is currently located;
If the user is not in the room when reporting, the report leads to the previously exited Room.
Implementation
FutureOr<int> feedback(ByteRTCProblemFeedbackOption types,
ByteRTCProblemFeedbackInfo info) async {
return await nativeCall('feedback:info:', [types.$value, info]);
}