getVersion

Introduction

Get the version of the SDK.

Parameter details

This API has no parameters

Returned template

V2TimValueCallback<String>

{
    code : int
    desc : String
    data : String//The version of the SDK.
}

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.
data bool The version of the SDK.

Code example

    V2TimValueCallback<String> getVersionRes =
        await TencentImSDKPlugin.v2TIMManager.getVersion();
    if (getVersionRes.code == 0) {
      getVersionRes.data; 
    }

results matching ""

    No results matching ""