docs: public static Task<NavigationResult> navigateInBackground(final Context context,
                                                              Uri destination,
                                                              AppLinkResolver resolver) {
      return resolver.getAppLinkFromUrlInBackground(destination)
              .onSuccess(new Continuation<AppLink, NavigationResult>() {
                @Override
                public NavigationResult then(Task<AppLink> task) throws Exception {
                  return navigate(context, task.getResult());
                }
              }, Task.UI_THREAD_EXECUTOR);
    }