code: public void checkUpdate(Activity activity, CheckUpdateHandler handler) {
          HMSAgentLog.i("checkUpdate:handler=" + StrUtils.objDesc(handler));
          this.handler = handler;
          this.activity = activity;
          connect();
      }
docs: 应用自升级接口
  @param handler 应用自升级结果回调