setRTCGameRoomDelegate method
@detail api @author luomingkang @brief 通过设置 ByteRTCGameRoom{@link #ByteRTCGameRoom} 对象的事件句柄,监听此对象对应的回调事件。 @param roomDelegate 参见 ByteRTCRoomDelegate{@link #ByteRTCRoomDelegate}。 @return - 0: 调用成功。 - < 0 : 调用失败。查看 ByteRTCReturnStatus{@link #ByteRTCReturnStatus} 获得更多错误说明
Implementation
FutureOr<int> setRTCGameRoomDelegate(
id<ByteRTCGameRoomDelegate> roomDelegate) async {
return await nativeCall('setRTCGameRoomDelegate:', [roomDelegate]);
}