getVersion static method

Future<V2TimValueCallback<String>> getVersion()

Implementation

static Future<V2TimValueCallback<String>> getVersion() async {
  Pointer<Uint8> data = desktopSDK.D_TIMGetSDKVersion();

  return V2TimValueCallback<String>.fromJson({
    "code": 0,
    "desc": "success",
    "data": Tools.pointerInt82String(data),
  });
}