setSelfStatus

Introduction

Set the status for the current logged in user.

Only works since version of 4.0.3.

Do not works on Web.

Parameter details

Parameter name Parameter type Required Platform Description
status String yes All The description of the status.

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

    V2TimCallback setSelfStatusRes =
        await TencentImSDKPlugin.v2TIMManager.setSelfStatus(status: "");
    if (setSelfStatusRes.code == 0) {
    }

results matching ""

    No results matching ""