rtc_room_engine_impl 3.6.0
rtc_room_engine_impl: ^3.6.0 copied to clipboard
Platform implementation of rtc_room_engine plugin.
rtc_room_engine_impl #
Platform implementation of the RTC Room Engine plugin.
Overview #
This package provides the concrete implementation of the rtc_room_engine platform interface. It includes:
- Native bindings for Android and iOS
- Implementation of all RTC Room Engine APIs
- Utility classes and helpers
Usage #
Add this package along with rtc_room_engine to your pubspec.yaml:
dependencies:
rtc_room_engine: ^3.4.0
rtc_room_engine_impl: ^3.4.0
Structure #
lib/bindings/- Native platform bindingslib/impl/- API implementationslib/utils/- Utility classesandroid/- Android native codeios/- iOS native code
Example #
import 'package:rtc_room_engine/rtc_room_engine.dart';
import 'package:rtc_room_engine_impl/rtc_room_engine_impl.dart';
void main() async {
// Initialize and login
await TUIRoomEngine.login(sdkAppId, userId, userSig);
// Get engine instance
var engine = TUIRoomEngine.sharedInstance();
// Use the engine
await engine.createRoom(roomInfo);
}
Platform Support #
- Android
- iOS
Note #
This package implements the rtc_room_engine platform interface. It should be used together with the rtc_room_engine package.