CallMembership class

userId - The userId of the member

callId - The callId the member is a part of, usually an empty string

application, scope - something you can narrow down the calls with, might be removed soon

backend - The CallBackend, either mesh or livekit

deviceId - The deviceId of the member

eventId - The eventId in matrix for this call membership not always present because we do not have it when we are just sending the event

expiresTs - Timestamp at which this membership event will be considered expired

membershipId - A cachebuster for state events, usually is reset every time a client loads

feeds - Feeds from mesh calls, is not used for livekit calls

voip - The voip parent class for using timeouts probably

roomId - The roomId for the call

Constructors

CallMembership({required String userId, required String callId, required CallBackend backend, required String deviceId, String? eventId, required int expiresTs, required String roomId, required String membershipId, required VoIP voip, String? application = 'm.call', String? scope = 'm.room', List? feeds})

Properties

application String?
final
backend CallBackend
final
callId String
final
deviceId String
final
eventId String?
final
expiresTs int
final
feeds List?
final
hashCode int
The hash code for this object.
no setteroverride
isExpired bool
no setter
membershipId String
final
roomId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
final
userId String
final
voip VoIP
final

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(Map json, String userId, String roomId, String? eventId, VoIP voip) CallMembership?