feedback method
@detail api
@author wangzhanqiang
@brief Report the user feedback to RTC.
@param types List of preset problems. See ProblemFeedbackOption{@link #ProblemFeedbackOption}
@param info Specific description of other problems other than the preset problem, room's information. ProblemFeedbackInfo{@link #ProblemFeedbackInfo}
@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(
List<ProblemFeedbackOption> types, ProblemFeedbackInfo info) async {
return await nativeCall('feedback', [types, info]);
}