Call class

Implementers
Annotations
  • @JsonSerializable()

Constructors

Call(String id, CallStatus status, bool muted, bool speakerphone, int duration, DateTime? startTime, DateTime? establishTime, DateTime? endTime, User source, User destination)
Call.fromJson(Map<String, dynamic> json)
factory

Properties

callEventListener CallEventListener?
getter/setter pair
destination User
final
duration int
final
endTime DateTime?
final
establishTime DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
muted bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source User
final
speakerphone bool
getter/setter pair
startTime DateTime?
final
status CallStatus
final

Methods

hangup() Future<void>
Hangup the current call.
localVideo(bool localVideo) Future<void>
Set whether the local user has their video enabled based on localVideo.
mute(bool mute) Future<void>
Mute the current user based on mute.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCameraOrientation(CameraOrientation orientation) Future<void>
Sets orientation as the new current camera orientation.
setSpeakerphone(bool enabled) Future<void>
Set whether speakerphone is enabled.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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