VideoEvent constructor
VideoEvent({
- UserResponse? blockedByUser,
- required String callCid,
- required DateTime createdAt,
- String type = 'user.updated',
- required UserEventPayload user,
- required CallResponse call,
- List<
MemberResponse> members = const [], - required String hlsPlaylistUrl,
- Map<
String, List< capabilitiesByRole = const {},String> > - required bool notifyUser,
- required String sessionId,
- required ReactionResponse reaction,
- required CallRecording callRecording,
- String? reason,
- required bool video,
- required String name,
- required int anonymousParticipantCount,
- Map<
String, int> participantsCountByRole = const {}, - required CallParticipantResponse participant,
- required int durationSeconds,
- required CallTranscription callTranscription,
- required String fromUserId,
- List<
String> mutedUserIds = const [], - required CallClosedCaption closedCaption,
- required String connectionId,
- required OwnUserResponse me,
- required APIError error,
- Map<
String, Object> custom = const {}, - String? cid,
- DateTime? receivedAt,
- List<
String> permissions = const [], - List<
OwnCapability> ownCapabilities = const [],
Returns a new VideoEvent instance.
Implementation
VideoEvent({
this.blockedByUser,
required this.callCid,
required this.createdAt,
this.type = 'user.updated',
required this.user,
required this.call,
this.members = const [],
required this.hlsPlaylistUrl,
this.capabilitiesByRole = const {},
required this.notifyUser,
required this.sessionId,
required this.reaction,
required this.callRecording,
this.reason,
required this.video,
required this.name,
required this.anonymousParticipantCount,
this.participantsCountByRole = const {},
required this.participant,
required this.durationSeconds,
required this.callTranscription,
required this.fromUserId,
this.mutedUserIds = const [],
required this.closedCaption,
required this.connectionId,
required this.me,
required this.error,
this.custom = const {},
this.cid,
this.receivedAt,
this.permissions = const [],
this.ownCapabilities = const [],
});