setRTCRoomDelegate method
@detail api @author shenpengliang @brief Listens for event callbacks related to the ByteRTCRoom{@link #ByteRTCRoom} instance by setting the event handler of this instance. @param roomDelegate Refer to ByteRTCRoomDelegate{@link #ByteRTCRoomDelegate}. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details
Implementation
FutureOr<int> setRTCRoomDelegate(id<ByteRTCRoomDelegate> roomDelegate) async {
return await nativeCall('setRTCRoomDelegate:', [roomDelegate]);
}