FacebookAppLinkResolver
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

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

ขยาย:Object
แพ็คเกจ:applinks
ผู้สร้าง
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.