getInitResult static method

Future<bool> getInitResult()

Implementation

static Future<bool> getInitResult() async {
  final res = await TencentImSDKPlugin.v2TIMManager.checkAbility();
  if (res.code == 0) {
    return true;
  }
  print("Error: ${res.code} - ${res.desc}");
  return false;
}