addInvitedSignaling

Introduction

Create an invitation with signaling.

Parameter details

Parameter name Parameter type Required Platform Description
info V2TimSignalingInfo yes All The detailed information of the invitation.

Returned template

V2TimCallback

{
    code : int
    desc : String
}

Return value details

name type description
code int Request result: Error codes. 0 means success.
desc String The description of the error. It will be empty if success.

Code example

    V2TimSignalingInfo info = V2TimSignalingInfo(
        actionType: 1,
        businessID: 1,
        data: "",
        groupID: "",
        inviteeList: [],
        inviteID: "",
        timeout: 30,
        inviter: "",
        isOnlineUserOnly: false,
        offlinePushInfo: V2TimOfflinePushInfo());
    V2TimCallback addInvitedSignalingRes = await TencentImSDKPlugin.v2TIMManager
        .getSignalingManager()
        .addInvitedSignaling(info: info);
    if (addInvitedSignalingRes.code == 0) {
    }

results matching ""

    No results matching ""