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 ) ; } } ) ; }
Asynchronously resolves App Link data for the passed in Uri