getInitResult static method

Future<bool> getInitResult()

Implementation

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