onCallUserStateChanged property
void Function(ZIM zim, ZIMCallUserStateChangeInfo callUserStateChangeInfo, String callID)?
onCallUserStateChanged
getter/setter pair
Supported versions: 2.9.0 and above.
Detail description: Listen for calling user status changes.
When to call: After the call invitation is initiated, the calling member accepts, rejects, or exits, or the response times out, the current calling inviting member receives this callback.
Note: If the user is not the inviter who initiated this call invitation or is not online, the callback will not be received.
Related APIs: ZIM.callInvite, ZIM.callingInvite, ZIM.callAccept, ZIM.callReject,ZIM.callQuit.
zim
ZIM instance.
callUserStateChangeInfo
Information about the status change of a call member.
callID
Unique identifier of the call.
Implementation
static void Function(
ZIM zim,
ZIMCallUserStateChangeInfo callUserStateChangeInfo,
String callID)? onCallUserStateChanged;