GroupCall class

Inheritance

Constructors

GroupCall({required int id, required String title, required int scheduledStartDate, required bool enabledStartNotification, required bool isActive, required bool isRtmpStream, required bool isJoined, required bool needRejoin, required bool canBeManaged, required int participantCount, required bool hasHiddenListeners, required bool loadedAllParticipants, required List<GroupCallRecentSpeaker> recentSpeakers, required bool isMyVideoEnabled, required bool isMyVideoPaused, required bool canEnableVideo, required bool muteNewParticipants, required bool canToggleMuteNewParticipants, required int recordDuration, required bool isVideoRecorded, required int duration, dynamic extra, int? clientId})
Describes a group call
const
GroupCall.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

canBeManaged bool
canBeManaged True, if the current user can manage the group call
final
canEnableVideo bool
canEnableVideo True, if the current user can broadcast video or share screen
final
canToggleMuteNewParticipants bool
canToggleMuteNewParticipants True, if the current user can enable or disable mute_new_participants setting
final
clientId int?
clientId client identifier
final
duration int
duration Call duration, in seconds; for ended calls only
final
enabledStartNotification bool
enabledStartNotification True, if the group call is scheduled and the current user will receive a notification when the group call will start
final
extra → dynamic
extra callback sign
final
hashCode int
The hash code for this object.
no setterinherited
hasHiddenListeners bool
hasHiddenListeners True, if group call participants, which are muted, aren't returned in participant list
final
id int
id Group call identifier
final
isActive bool
isActive True, if the call is active
final
isJoined bool
isJoined True, if the call is joined
final
isMyVideoEnabled bool
isMyVideoEnabled True, if the current user's video is enabled
final
isMyVideoPaused bool
isMyVideoPaused True, if the current user's video is paused
final
isRtmpStream bool
isRtmpStream True, if the chat is an RTMP stream instead of an ordinary video chat
final
isVideoRecorded bool
isVideoRecorded True, if a video file is being recorded for the call
final
loadedAllParticipants bool
loadedAllParticipants True, if all group call participants are loaded
final
muteNewParticipants bool
muteNewParticipants True, if only group call administrators can unmute new participants
final
needRejoin bool
needRejoin True, if user was kicked from the call because of network loss and the call needs to be rejoined
final
participantCount int
participantCount Number of participants in the group call
final
recentSpeakers List<GroupCallRecentSpeaker>
recentSpeakers At most 3 recently speaking users in the group call
final
recordDuration int
recordDuration Duration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledStartDate int
scheduledStartDate Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended
final
title String
title Group call title
final

Methods

copyWith({int? id, String? title, int? scheduledStartDate, bool? enabledStartNotification, bool? isActive, bool? isRtmpStream, bool? isJoined, bool? needRejoin, bool? canBeManaged, int? participantCount, bool? hasHiddenListeners, bool? loadedAllParticipants, List<GroupCallRecentSpeaker>? recentSpeakers, bool? isMyVideoEnabled, bool? isMyVideoPaused, bool? canEnableVideo, bool? muteNewParticipants, bool? canToggleMuteNewParticipants, int? recordDuration, bool? isVideoRecorded, int? duration, dynamic extra, int? clientId}) GroupCall
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String