FacebookAppLinkResolver
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Provides an implementation for the AppLinkResolver interface that uses the Facebook App Link index to solve App Links, given a Url. It also provides an additional helper method that can resolve multiple App Links in a single call.

확장:Object
패키지:facebook
생성자
FacebookAppLinkResolver()
public FacebookAppLinkResolver()
인스턴스 메서드
getAppLinkFromUrlInBackground(Uri)

Asynchronously resolves App Link data for the passed in Uri

public <any> getAppLinkFromUrlInBackground(Uri uri)
매개변수설명
uriUri to be resolved into an App Link
Returns
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.
getAppLinkFromUrlsInBackground(List)

Asynchronously resolves App Link data for multiple Urls

public <any> getAppLinkFromUrlsInBackground(List uris)
매개변수설명
urisA list of Uri objects to resolve into App Links
Returns
A Task that, when successful, will return a Map of Uri->AppLink for each Uri that was successfully resolved into an App Link. Uris that could not be resolved into App Links will not be present in the Map. In the case of general server errors, the task will be completed with the corresponding error.