Line data Source code
1 : import 'package:matrix/matrix.dart'; 2 : 3 : /// UNSTABLE API WARNING 4 : /// The class herirachy is currently experimental and could have breaking changes 5 : /// often. 6 : sealed class MatrixRTCCallEvent {} 7 : 8 : sealed class ParticipantsChangeEvent implements MatrixRTCCallEvent {} 9 : 10 : final class ParticipantsJoinEvent implements ParticipantsChangeEvent { 11 : final List<CallParticipant> participants; 12 : 13 2 : ParticipantsJoinEvent({required this.participants}); 14 : } 15 : 16 : final class ParticipantsLeftEvent implements ParticipantsChangeEvent { 17 : final List<CallParticipant> participants; 18 : 19 0 : ParticipantsLeftEvent({required this.participants}); 20 : }