GroupCallSession.withAutoGenId constructor

GroupCallSession.withAutoGenId(
  1. Room room,
  2. VoIP voip,
  3. CallBackend backend,
  4. String? application,
  5. String? scope,
  6. String? groupCallId,
)

Implementation

factory GroupCallSession.withAutoGenId(
  Room room,
  VoIP voip,
  CallBackend backend,
  String? application,
  String? scope,
  String? groupCallId,
) {
  return GroupCallSession(
    client: room.client,
    room: room,
    voip: voip,
    backend: backend,
    application: application ?? 'm.call',
    scope: scope ?? 'm.room',
    groupCallId: groupCallId ?? genCallID(),
  );
}