Closed digarahayu closed 9 months ago
import 'package:zego_express_engine/zego_express_engine.dart';
void xx() {
final expressEvent = ExpressEvent();
ZegoUIKit().registerExpressEvent(expressEvent);
}
class ExpressEvent extends ZegoUIKitExpressEventInterface {
@override
void onIMRecvBroadcastMessage(
String roomID, List<ZegoBroadcastMessageInfo> messageList) {
// TODO: implement onIMRecvBroadcastMessage
super.onIMRecvBroadcastMessage(roomID, messageList);
}
}
You can inherit ZegoUIKitExpressEventInterface
and listen to all event callbacks related to ZegoExpressEngine here
I can't find it in documentation Btw thanks ,finally it's works
hi how to use it im in the lost here
hi how to use it im in the lost here i'm sorry? what's your question?
how to use onIMRecvBroadcastMessage when i use ZegoUIKitPrebuiltLiveAudioRoom. how i can trigger all event that available on ZegoExpressEngine