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