code: public static BranchUniversalObject getReferredBranchUniversalObject() {
          BranchUniversalObject branchUniversalObject = null;
          Branch branchInstance = Branch.getInstance();
          try {
              if (branchInstance != null && branchInstance.getLatestReferringParams() != null) {
                  // Check if link clicked. Unless deep link debug enabled return null if there is no link click
                  if (branchInstance.getLatestReferringParams().has("+clicked_branch_link") && branchInstance.getLatestReferringParams().getBoolean("+clicked_branch_link")) {
                      branchUniversalObject = createInstance(branchInstance.getLatestReferringParams());
                  }
                  // If debug params are set then send BUO object even if link click is false
                  else if (branchInstance.getDeeplinkDebugParams() != null && branchInstance.getDeeplinkDebugParams().length() > 0) {
                      branchUniversalObject = createInstance(branchInstance.getLatestReferringParams());
                  }
              }
          } catch (Exception ignore) {
          }
          return branchUniversalObject;
      }
docs: Get the {@link BranchUniversalObject} associated with the latest deep linking. This should retrieve the
  exact object used for creating the deep link. This should be called only after initialising Branch Session.
  
  @return A {@link BranchUniversalObject} used to create the deep link that started the this app session.
  Null is returned if this session is not started by Branch link click