BarrageDisplayController constructor

BarrageDisplayController({
  1. required String roomId,
  2. required String ownerId,
  3. required String selfUserId,
  4. String? selfName,
  5. OnBarrageError? onError,
})

Implementation

BarrageDisplayController(
    {required String roomId, required String ownerId, required String selfUserId, String? selfName, OnBarrageError? onError}) {
  BarrageStore().manager.init(roomId, ownerId, selfUserId, selfName);
  BarrageStore().onError = onError;
}