VideoEvent constructor

VideoEvent({
  1. required AppEventResponse app,
  2. required DateTime createdAt,
  3. Map<String, Object> custom = const {},
  4. DateTime? receivedAt,
  5. String type = 'user.updated',
  6. UserResponse? blockedByUser,
  7. required String callCid,
  8. required UserResponsePrivacyFields user,
  9. required CallResponse call,
  10. List<MemberResponse> members = const [],
  11. required String digit,
  12. required int durationMs,
  13. required int seqNumber,
  14. required DateTime timestamp,
  15. required String reason,
  16. required String egressId,
  17. required DateTime capturedAt,
  18. required String sessionId,
  19. required String trackType,
  20. required String url,
  21. Map<String, UserResponse> users = const {},
  22. required String hlsPlaylistUrl,
  23. Map<String, List<String>> capabilitiesByRole = const {},
  24. required bool notifyUser,
  25. required String userId,
  26. required String message,
  27. required ReactionResponse reaction,
  28. required VideoEventRecordingTypeEnum recordingType,
  29. required CallRecording callRecording,
  30. required bool video,
  31. required String name,
  32. required int anonymousParticipantCount,
  33. Map<String, int> participantsCountByRole = const {},
  34. required CallParticipantResponse participant,
  35. required int durationSeconds,
  36. required String error,
  37. required CallTranscription callTranscription,
  38. required int rating,
  39. String? sdk,
  40. String? sdkVersion,
  41. required String fromUserId,
  42. List<String> mutedUserIds = const [],
  43. required CallClosedCaption closedCaption,
  44. required String connectionId,
  45. required OwnUserResponse me,
  46. required String cid,
  47. String? code,
  48. required String ingressStreamId,
  49. String? clientIp,
  50. String? clientName,
  51. required String publisherType,
  52. String? version,
  53. UserResponse? kickedByUser,
  54. List<String> permissions = const [],
  55. List<OwnCapability> ownCapabilities = const [],
  56. required String channelId,
  57. required String channelType,
  58. required User createdBy,
  59. DateTime? expiration,
  60. required bool shadow,
  61. String? team,
  62. String? targetUser,
  63. List<String> targetUsers = const [],
})

Returns a new VideoEvent instance.

Implementation

VideoEvent({
  required this.app,
  required this.createdAt,
  this.custom = const {},
  this.receivedAt,
  this.type = 'user.updated',
  this.blockedByUser,
  required this.callCid,
  required this.user,
  required this.call,
  this.members = const [],
  required this.digit,
  required this.durationMs,
  required this.seqNumber,
  required this.timestamp,
  required this.reason,
  required this.egressId,
  required this.capturedAt,
  required this.sessionId,
  required this.trackType,
  required this.url,
  this.users = const {},
  required this.hlsPlaylistUrl,
  this.capabilitiesByRole = const {},
  required this.notifyUser,
  required this.userId,
  required this.message,
  required this.reaction,
  required this.recordingType,
  required this.callRecording,
  required this.video,
  required this.name,
  required this.anonymousParticipantCount,
  this.participantsCountByRole = const {},
  required this.participant,
  required this.durationSeconds,
  required this.error,
  required this.callTranscription,
  required this.rating,
  this.sdk,
  this.sdkVersion,
  required this.fromUserId,
  this.mutedUserIds = const [],
  required this.closedCaption,
  required this.connectionId,
  required this.me,
  required this.cid,
  this.code,
  required this.ingressStreamId,
  this.clientIp,
  this.clientName,
  required this.publisherType,
  this.version,
  this.kickedByUser,
  this.permissions = const [],
  this.ownCapabilities = const [],
  required this.channelId,
  required this.channelType,
  required this.createdBy,
  this.expiration,
  required this.shadow,
  this.team,
  this.targetUser,
  this.targetUsers = const [],
});