OnInvitationCancelledCallback
Introduction
The callback of invitation been cancelled event.
Returned template
OnInvitationCancelledCallback = void Function(
String inviteID,
String inviter,
String data
)
Return value details
name | type | description |
---|---|---|
inviteID | String | The invitation ID. |
inviter | String | The ID of the inviter. |
data | String | The custom data associated with the canceling. |
Code example
V2TimSignalingListener listener = V2TimSignalingListener(
onInvitationCancelled:
(String inviteID, String inviter, String data) async {
}
);
TencentImSDKPlugin.v2TIMManager
.getSignalingManager()
.addSignalingListener(listener: listener);