code: public Task<AppLink> getAppLinkFromUrlInBackground(final Uri uri) {
          ArrayList<Uri> uris = new ArrayList<Uri>();
          uris.add(uri);
  
          Task<Map<Uri, AppLink>> resolveTask = getAppLinkFromUrlsInBackground(uris);
  
          return resolveTask.onSuccess(new Continuation<Map<Uri, AppLink>, AppLink>() {
              @Override
              public AppLink then(Task<Map<Uri, AppLink>> resolveUrisTask) throws Exception {
                  return resolveUrisTask.getResult().get(uri);
              }
          });
      }
docs: Asynchronously resolves App Link data for the passed in Uri
  
  @param uri Uri to be resolved into an App Link
  @return A Task that, when successful, will return an AppLink for the passed in Uri. This may be null if no App
  Link data was found for this Uri.
  In the case of general server errors, the task will be completed with the corresponding error.