setRTCRoomDelegateRts method
@detail api
@brief 通过设置 ByteRTCRTSRoomDelegate{@link #ByteRTCRTSRoomDelegate}代理,可以监听此 ByteRTCRTSRoom 对象对应的回调事件。
@param roomDelegate 参见 ByteRTCRTSRoomDelegate{@link #ByteRTCRTSRoomDelegate}。
@return
+ 0: 调用成功。
+ < 0 : 调用失败。查看 ByteRTCReturnStatus{@link #ByteRTCReturnStatus} 获得更多错误说明
Implementation
FutureOr<int> setRTCRoomDelegateRts(
id<ByteRTCRTSRoomDelegate> roomDelegate) async {
return await nativeCall('setRTCRoomDelegateRts:', [roomDelegate]);
}