CallEventListeners class abstract
A class that provides a set of callback methods that can be used to listen for Call Events in the MirrorFly Flutter Plugin.
Constructors
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
-
onCallAction(
String userJid, String callMode, String callType, String callAction) → void - This listener is triggered whenever the call related action are received.
-
onCallLogDeleted(
String callLogId) → void - This listener is triggered whenever the call log is deleted.
-
onCallLogsCleared(
) → void - This listener is triggered whenever the call logs are cleared.
-
onCallLogsUpdated(
) → void - This listener is triggered whenever the call is synced with call logs. listen to this method and update the UI.
-
onCallStatusUpdated(
String userJid, String callMode, String callType, String callStatus) → void - This listener is triggered whenever the call status is updated.
-
onLocalVideoTrackAdded(
String userJid) → void - This listener is triggered whenever the video call is answered and local stream started.
-
onMissedCall(
String userJid, String groupId, bool isOneToOneCall, String callType, List< String> userList) → void - This listener is triggered whenever the call is missed or not answered.
-
onMuteStatusUpdated(
String userJid, String muteEvent) → void - This listener is triggered whenever the User is muted or un-muted in the call.
-
onRemoteVideoTrackAdded(
String userJid) → void - This listener is triggered whenever the video call is answered and remote stream started.
-
onTrackAdded(
String userJid) → void - This listener is triggered whenever the local and remote streams are added. It's the combination of onLocalVideoTrackAdded and onRemoteVideoTrackAdded.
-
onUserSpeaking(
String userJid, int audioLevel) → void - This listener is triggered whenever the User is speaking in the call, with the audio level.
-
onUserStoppedSpeaking(
String userJid) → void - This listener is triggered whenever the User stopped speaking in the call.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited