code: private void disposeSignInResult(SignInResult result) {
          if (result == null) {
              HMSAgentLog.e("result is null");
              onSignInResult(HMSAgent.AgentResultCode.RESULT_IS_NULL, null);
              return;
          }
  
          Status status = result.getStatus();
          if (status == null) {
              HMSAgentLog.e("status is null");
              onSignInResult(HMSAgent.AgentResultCode.STATUS_IS_NULL, null);
              return;
          }
  
          int rstCode = status.getStatusCode();
          HMSAgentLog.d("status=" + status);
          // 需要重试的错误码，并且可以重试
          if ((rstCode == CommonCode.ErrorCode.SESSION_INVALID
                  || rstCode == CommonCode.ErrorCode.CLIENT_API_INVALID) && retryTimes > 0) {
              retryTimes--;
              connect();
          } else {
              disposeObtainedResult(result, rstCode);
          }
      }
docs: 处理signInResult回调
  @param result 回调的signInResult实例