ChatCallKitObserver class abstract mixin

Constructors

ChatCallKitObserver()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAnswer(String callId) → void
Callback when the call is answered.
onCallEnd(String? callId, ChatCallKitCallEndReason reason) → void
Callback when the call ends, See ChatCallKitCallEndReason.
onError(ChatCallKitError error) → void
Callback when the call fails, See ChatCallKitError.
onJoinedChannel(String channel) → void
Callback when the current user joins the call.
onReceiveCall(String userId, String callId, ChatCallKitCallType callType, Map<String, String>? ext) → void
Callback when you receive a call invitation.
onUserJoined(int agoraUid, String? userId) → void
Callback when a user joins a call.
onUserLeaved(int agoraUid, String? userId) → void
Callback when an active user leaves.
onUserMuteAudio(int agoraUid, bool muted) → void
Callback when the peer's mute status changes.
onUserMuteVideo(int agoraUid, bool muted) → void
Callback when the peer's camera status changes.
onUserRemoved(String callId, String userId, ChatCallKitCallEndReason reason) → void
Callback when the user rejects the call or the call times out.
toString() String
A string representation of this object.
inherited

Operators

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