CallParams class

Call parameter configuration, used to set room ID, timeout, custom data, and other parameters when initiating an audio/video call.

Configuration parameters for initiating audio/video calls, including room ID, timeout, custom data, etc.

Constructors

CallParams({String roomId = "", int timeout = 30, String userData = "", String chatGroupId = "", bool isEphemeralCall = false})

Properties

chatGroupId ↔ String
Chat group ID, used for group call scenarios
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isEphemeralCall ↔ bool
Whether it is an encrypted call (no call records generated)
getter/setter pair
roomId ↔ String
Room ID, optional parameter, automatically assigned by server if not specified
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout ↔ int
Call timeout duration in seconds. Set to 0 to use the server-side default (typically 30s).
getter/setter pair
userData ↔ String
User custom data
getter/setter pair

Methods

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

Operators

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