VideoEvent class

Constructors

VideoEvent.new({required AppEventResponse app, required DateTime createdAt, Map<String, Object> custom = const {}, DateTime? receivedAt, String type = 'user.updated', UserResponse? blockedByUser, required String callCid, required UserResponsePrivacyFields user, required CallResponse call, List<MemberResponse> members = const [], required String egressId, required DateTime capturedAt, required String sessionId, required String trackType, required String url, Map<String, UserResponse> users = const {}, required String hlsPlaylistUrl, Map<String, List<String>> capabilitiesByRole = const {}, required bool notifyUser, 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, required String cid, List<String> permissions = const [], List<OwnCapability> ownCapabilities = const [], required String channelId, required String channelType, required User createdBy, DateTime? expiration, required bool shadow, String? team, String? targetUser, List<String> targetUsers = const []})
Returns a new VideoEvent instance.

Properties

anonymousParticipantCount int
getter/setter pair
app AppEventResponse
getter/setter pair
blockedByUser UserResponse?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
call CallResponse
getter/setter pair
callCid String
getter/setter pair
callRecording CallRecording
getter/setter pair
callTranscription CallTranscription
getter/setter pair
capabilitiesByRole Map<String, List<String>>
The capabilities by role for this call
getter/setter pair
capturedAt DateTime
The time the frame was captured
getter/setter pair
channelId String
getter/setter pair
channelType String
getter/setter pair
cid String
getter/setter pair
closedCaption CallClosedCaption
getter/setter pair
connectionId String
getter/setter pair
createdAt DateTime
Date/time of creation
getter/setter pair
createdBy User
getter/setter pair
custom Map<String, Object>
getter/setter pair
durationSeconds int
The duration participant was in the session in seconds
getter/setter pair
egressId String
getter/setter pair
error APIError
getter/setter pair
expiration DateTime?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
fromUserId String
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hlsPlaylistUrl String
getter/setter pair
me OwnUserResponse
getter/setter pair
members List<MemberResponse>
Call members
getter/setter pair
mutedUserIds List<String>
getter/setter pair
name String
Name of the given RTMP broadcast
getter/setter pair
notifyUser bool
getter/setter pair
ownCapabilities List<OwnCapability>
The capabilities of the current user
getter/setter pair
participant CallParticipantResponse
getter/setter pair
participantsCountByRole Map<String, int>
getter/setter pair
permissions List<String>
The list of permissions requested by the user
getter/setter pair
reaction ReactionResponse
getter/setter pair
reason String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
receivedAt DateTime?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
Call session ID
getter/setter pair
shadow bool
getter/setter pair
targetUser String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
targetUsers List<String>
getter/setter pair
team String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
trackType String
The type of the track frame was captured from (TRACK_TYPE_VIDEO|TRACK_TYPE_SCREEN_SHARE)
getter/setter pair
type String
The type of event: "user.updated" in this case
getter/setter pair
url String
The URL of the frame
getter/setter pair
user UserResponsePrivacyFields
getter/setter pair
users Map<String, UserResponse>
The users in the frame
getter/setter pair
video bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) VideoEvent?
Returns a new VideoEvent instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<VideoEvent>
mapFromJson(dynamic json) Map<String, VideoEvent>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<VideoEvent>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.